Exemplo n.º 1
0
 /**
  * @return CRUD
  */
 public function myCRUD()
 {
     if ($this->crud == null) {
         $ref = new ReflectionClass($this->object);
         $this->crud = Singleton::getInstance("CRUD", $ref->getName(), $ref->getName());
         //$this->crud = new CRUD($ref->getName());
         $this->crud->addNoIndexAtribute("dao");
     }
     return $this->crud;
 }