Beispiel #1
0
 /**
  * @param integer $to 
  * @return null
  */
 public function setTo($to)
 {
     if (!isset($this->loadedFields['to'])) {
         $this->loadProperties();
     }
     $oldValue = null;
     if (array_key_exists('to', $this->loadedValues)) {
         $oldValue = $this->loadedValues['to'];
     }
     if ($oldValue === $to) {
         $this->to = $to;
         return;
     }
     return parent::setTo($to);
 }