예제 #1
0
파일: Tree.php 프로젝트: techart/tao
 public function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MPT::EntitySubscriber($this));
     parent::setup($attrs, $mapper);
 }
예제 #2
0
파일: MPT.php 프로젝트: techart/tao
 protected function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MPT::EntitySubscriber($this));
     return parent::setup();
 }