Esempio n. 1
0
 public function validateParentFolderId($attribute, $params)
 {
     parent::validateParentFolderId($attribute, $params);
 }
Esempio 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();
     }
 }