Exemplo n.º 1
0
 /**
  * @param string $title 
  * @return null
  */
 public function setTitle($title)
 {
     if (!isset($this->loadedFields['title'])) {
         $this->loadProperties();
     }
     $oldValue = null;
     if (array_key_exists('title', $this->loadedValues)) {
         $oldValue = $this->loadedValues['title'];
     }
     if ($oldValue === $title) {
         $this->title = $title;
         return;
     }
     return parent::setTitle($title);
 }