Open web-zen opened 10 years ago
I'm using this laravel/datatable https://github.com/Chumper/Datatable
And it uses this php function.
public function getDatatable() { return Datatable::collection(User::all(array('id','tcc_user_id'))) ->showColumns('id', 'tcc_user_id') ->searchColumns('tcc_user_id') ->orderColumns('id','tcc_user_id') ->make(); }
How can I tell what other php functions and properties are available ?
The datatables site appears to only have javascript functions https://datatables.net/
I would like to do as much on the PHP side as possible
You can take a look at the readme or the code itself. All javascript properties can be set in php with the setOption and setCallback functions on the engines.
setOption
setCallback
I'm using this laravel/datatable https://github.com/Chumper/Datatable
And it uses this php function.
public function getDatatable() { return Datatable::collection(User::all(array('id','tcc_user_id'))) ->showColumns('id', 'tcc_user_id') ->searchColumns('tcc_user_id') ->orderColumns('id','tcc_user_id') ->make(); }
How can I tell what other php functions and properties are available ?
The datatables site appears to only have javascript functions https://datatables.net/
I would like to do as much on the PHP side as possible