Example #1
0
 private function dao($model, $param, $param2)
 {
     $execut = new Controller\ControleUc();
     $modelTemp = parent::getModel($model, "Modelo", $param);
     //o 3 param use em caso de um name diferenciado
     return $execut->executar('User', $param2, "DAO", $modelTemp, null);
 }
Example #2
0
 public function dao($model, $param)
 {
     $execut = new ControleUc();
     $modelTemp = parent::getModel($model, "Modelo", $param);
     return $execut->executar('Vendas', 'gravar', "DAO", $modelTemp, null);
 }