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