Beispiel #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;
 }
Beispiel #2
0
 /**
  *
  *
  */
 public function addEntity($name, $args)
 {
     //
     $this->entities[$name] = Entity::factory($name, $args);
 }