Exemple #1
0
 public function eliminar($id)
 {
     $area = new Areas();
     $area->setAreasId($id);
     $areasDAO = new AreasDAO($this->tableGateway);
     $areasDAO->eliminar($area);
 }
Exemple #2
0
 public function eliminar(Areas $area)
 {
     $this->tableGateway->delete(array('areas_id' => $area->getAreasId()));
 }