コード例 #1
0
ファイル: Tree.php プロジェクト: techart/tao
 public function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MP::EntitySubscriber($this));
     parent::setup($attrs, $mapper);
 }
コード例 #2
0
ファイル: MP.php プロジェクト: techart/tao
 protected function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MP::EntitySubscriber($this));
     return parent::setup();
 }