numOld = '...'; $this->numNew = '...'; break; case '-': $this->numOld = $numOld; $this->numNew = ''; break; case '+': $this->numOld = ''; $this->numNew = $numNew; break; default: $this->numOld = $numOld; $this->numNew = $numNew; } } else { $this->numOld = $numOld; $this->numNew = $numNew; } } public function getNumOld() { return $this->numOld; } public function setNumOld($num) { $this->numOld = $num; } public function getNumNew() { return $this->numNew; } public function setNumNew($num) { $this->numNew = $num; } }