Example #1
0
 function get_creditorlist()
 {
     $creditorList = array();
     $creditorList = Creditor_model::loadCreditorList();
     $this->response(json_encode($creditorList));
 }
Example #2
0
 public static function search($data = null)
 {
     // -- Search for a creaditor
     // -------------------------
     if ($data == null) {
         return;
     }
     return \Creditor_model::search($data);
 }