Initial Commit

This commit is contained in:
GiacomoHome
2021-09-17 12:41:45 +02:00
commit 9001e4656e
570 changed files with 31013 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
class Application_Model_RestResources_Generic extends App_Model_AbstractRest {
protected $_risorsa = "generic";
public function __init() {
$this->init($this->_risorsa);
}
public function getById($id){
return parent::getById($id);
}
public function deleteById($id){
return parent::deleteById($id);
}
public function getList($paged = null,$count = null,$order = null){
return parent::getList($paged,$count,$order);
}
public function getFiltered($paged = null,$count = null,$order = null,$where = null){
return parent::getFiltered($paged,$count,$order,$where);
}
public function updateAccessoCloud($params){
$data = parent::getByMethod('nomeMetodoCustom',$params);
return $data['data'];
}
}