public static function loadCreditorList() { // -- Return a full list of creditors // ---------------------------------- $results = array(); $results = \Creditor_model::loadCreditorList(); return $results; }
function get_creditorlist() { $creditorList = array(); $creditorList = Creditor_model::loadCreditorList(); $this->response(json_encode($creditorList)); }