Exemplo n.º 1
0
 public function validateParentFolderId($attribute, $params)
 {
     parent::validateParentFolderId($attribute, $params);
 }
Exemplo n.º 2
0
 public function afterSave($insert, $changedAttributes)
 {
     parent::afterSave($insert, $changedAttributes);
     // Rootfolder and Allposted files folder do never have wallentries
     if ($insert && !$this->isAllPostedFiles() && !$this->isRoot()) {
         $this->content->addToWall();
     }
 }