Exemplo n.º 1
0
 /**
  * 
  * 
  */
 public function __construct($name, $args)
 {
     //
     parent::__construct($name, $args);
     //
     $this->model = $args['model'];
     //
     $this->table = isset($args['table']) ? $args['table'] : 'Module\\Common\\Table\\ModelEntityTable';
     //
     $this->code = isset($args['code']) ? $args['code'] : null;
 }
Exemplo n.º 2
0
 /**
  *
  *
  */
 public function addEntity($name, $args)
 {
     //
     $this->entities[$name] = Entity::factory($name, $args);
 }