Esempio n. 1
0
 /**
  * Process Rest
  *
  * @return mixed
  */
 protected function processRest()
 {
     $restController = new Controller\Rest();
     $restController->setCrud(Crud::getInstance());
     return $restController();
 }
Esempio n. 2
0
 /**
  * Process Crud
  *
  * @return mixed
  */
 protected function processCrud()
 {
     $crudController = new Controller\Crud();
     $crudController->setCrud(Crud::getInstance());
     return $crudController();
 }