示例#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();
 }