68 $this->Security =
get_package(
'security' ,
'last' , __FILE__ );
104 private function fetch_records( $Provider , $FunctionName )
110 array( $Provider , $FunctionName ) ,
111 $this->Security->get_gp(
'start' ,
'integer' ,
false ) ,
112 $this->Security->get_gp(
'limit' ,
'integer' , 21 ) ,
113 $this->Security->get_gp(
'field' ,
'command' ,
false ) ,
114 $this->Security->get_gp(
'order' ,
'command' ,
false )
118 catch( Exception $e )
146 $FileName = $this->Security->get_gp(
'data' ,
'command' ,
false );
148 if( $FileName ===
false )
153 $this->Settings->load_file( dirname( __FILE__ ).
"/conf/cf_$FileName" );
155 $Provider = $this->Utilities->get_package( $this->Settings , __FILE__ ,
'access_' );
157 $FunctionName = $this->Settings->get_setting(
'select_func' ,
'select' );
159 $Records = $this->fetch_records( $Provider , $FunctionName );
163 $this->Output = $JSON->encode( $Records );
165 catch( Exception $e )
199 return( $this->Output );
201 catch( Exception $e )