Exemplo n.º 1
0
 public function setup()
 {
     parent::setup();
     $this->_created = 0;
     $this->_created_time = date('Y-m-d H:m:s');
     $this->isactive = 0;
     $this->user_id = (int) WS::env()->auth->user->id;
     return $this;
 }
Exemplo n.º 2
0
Arquivo: ORM.php Projeto: techart/tao
 public function setup()
 {
     parent::setup();
     $this->assign(array('parent_id' => 0, 'title' => '', 'value' => '', 'valuesrc' => '', 'parms' => '', 'parmsrc' => '', 'vartype' => '', 'component' => '', 'site' => '', 'full' => 0, 'ord' => 0));
     return $this;
 }
Exemplo n.º 3
0
Arquivo: Tree.php Projeto: techart/tao
 public function setup()
 {
     $this->enable_dispatch()->dispatcher->add_subscriber(Tree_DB_MPT::EntitySubscriber($this));
     parent::setup($attrs, $mapper);
 }