PM Rest: Renaming Application to => Case class rest api
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class Services_Rest_Application
|
class Services_Rest_Case
|
||||||
{
|
{
|
||||||
protected function get($id = '', $type = null, $start = null, $limit = null)
|
protected function get($id = '', $start=null, $limit=null, $type=null, $filter=null, $search=null, $process=null, $user=null, $status=null, $typeResource=null, $dateFrom=null, $dateTo=null)
|
||||||
{
|
{
|
||||||
if (empty($id)) {
|
if (empty($id)) {
|
||||||
// getting all records.
|
// getting all records.
|
||||||
@@ -10,7 +10,7 @@ class Services_Rest_Application
|
|||||||
$app = new Applications();
|
$app = new Applications();
|
||||||
$userUid = Services_Rest_Auth::$userId;
|
$userUid = Services_Rest_Auth::$userId;
|
||||||
|
|
||||||
return $app->getAll($userUid, $start, $limit, $type);
|
return $app->getAll($userUid, $start, $limit, $type, $filter, $search, $process, $user, $status, $typeResource, $dateFrom, $dateTo);
|
||||||
} else {
|
} else {
|
||||||
// get a specific record.
|
// get a specific record.
|
||||||
G::loadClass('wsBase');
|
G::loadClass('wsBase');
|
||||||
Reference in New Issue
Block a user