arnouxor / ajaxosor
This package is abandoned and no longer maintained.
The author suggests using the arnouxor/alienosor package instead.
There is no license information available for the latest version (v2.0.8) of this package.
Make your Codeigniter calls beautiful
Package info
Type:codeigniter-third-party
pkg:composer/arnouxor/ajaxosor
v2.0.8
2017-05-02 09:45 UTC
Requires
- php: >=5.6.0
README
Optimize your ajax' calls with CodeIgniter
Installation
Load the third party library
$this->load->add_package_path(APPPATH . 'third_party/alienosor');
$this->load->library('alienosor');
$this->load->remove_package_path(APPPATH . 'third_party/alienosor');
Utilisation
php
public function ajax_search()
{
$config = array(
array('field' => 'searchText', 'label' => '', 'rules' => 'trim|required|integer'),
);
$this->alienosor->process($config, array(
["type" => "library", "file" => "myfirst_lib", "method" => "method1", "params" => array("searchText")],
["type" => "model", "file" => "myfirst_model", "method" => "method2", "params" => array("searchText", "__LAST_RESULT", "mycustomvariable")]
));
}