コード例 #1
0
ファイル: NestedSetsBehavior.php プロジェクト: yujin1st/core
 /**
  *
  * @inheritDoc
  */
 public function beforeInsert()
 {
     if ($this->parentIdField) {
         $this->checkOperation();
     }
     parent::beforeInsert();
 }