lopcareers.blogg.se

Formatfactory 3.0.0
Formatfactory 3.0.0












formatfactory 3.0.0

$this->output->set_content_type($this->_supported_formats, strtolower($this->config->item('charset'))) If the format method exists, call and return the output in that format

Formatfactory 3.0.0 code#

I tried to review code of this library and see that invalid block when data are converted to json format, line 731-757 : elseif ($data != NULL) Message: Undefined property: Users::$format. In my controller, but I still get errors like : I commented line //require_once("application/libraries/REST/Format.php") Try to just load Rest_Controller.php and see if your problem goes After have a quick glance atįormat.php, it appears to be a standalone format conversion helper. I have the same problem when I load both Format.php and I made search on this forum and found such hint : I think that is preferable way istead of making from zero.īut is this library not workable or does it needs for some fixing? Sorry, what I missed is if this library only for ci 2? Message: Undefined property: Users::$formatįile: /mnt/diskD_Work/I wanted to get some workable library to help me with REST api creation. $users_list = $this->muser->getUsersList(false, ''/*, $filter_username, $filter_user_group, $filter_active, $sort, $sort_direction, ''*/) Įcho ''.count($users_list).'::$users_lists::'.print_r($users_list,true).'' Ī PHP Error was encountered Severity: Notice , $filter_user_group, $filter_active, $sort, $sort_direction $sort_direction= $this->get('sort_direction') $filter_active= $this->get('filter_active')

formatfactory 3.0.0 formatfactory 3.0.0

$filter_user_group= $this->get('filter_user_group') Require_once("application/libraries/REST/Format.php") Require_once("application/libraries/REST/REST_Controller.php") I created control application/controllers/api/Users.php : I downloaded codeigniter-restserver-master.zip file and copied Format.php and 3.0.0) files into /application/libraries/REST directory.I want to use restful in my ci 3.03 application:














Formatfactory 3.0.0