Example #1
0
File: Tree.php Project: techart/tao
 public function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MPT::EntitySubscriber($this));
     parent::setup($attrs, $mapper);
 }
Example #2
0
File: MPT.php Project: techart/tao
 protected function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MPT::EntitySubscriber($this));
     return parent::setup();
 }