Beispiel #1
0
 public function setAttribute($name, $value, $format = false)
 {
     //so that path gets resolved again
     if ($name == 'parent_id') {
         $this->_path = null;
     }
     return parent::setAttribute($name, $value, $format);
 }
Beispiel #2
0
 public function setAttribute($name, $value, $format = false)
 {
     parent::setAttribute($name, $value, $format);
     //		 if($name=='parent_id' && !$this->loadingFromDatabase){
     //			 $this->_loadSlug();
     //		 }
 }