Path : /srv/www/vhosts/unisol/app/models/ |
Current File : //srv/www/vhosts/unisol/app/models/Nemovitosti.php |
<?php class Nemovitosti extends Table{ public function insert($data){ return $this->getTable()->insert($data); } public function delete($id){ return $this->getTable()->where(array('id'=>$id))->delete(); } public function updateEstate($data,$id){ return $this->getTable()->where(array('id'=>$id))->update($data); } } ?>