38 lines
496 B
PHP
38 lines
496 B
PHP
<?php
|
|
|
|
namespace App\Datatables;
|
|
|
|
|
|
class EntityDatatable
|
|
{
|
|
|
|
/**
|
|
* Returns the columns to be displayed and their key/values
|
|
* @return array Columns and key/value option pairs
|
|
*
|
|
* To be used to show/hide columns
|
|
*/
|
|
public function columns()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* Display options for the ajax request
|
|
* @return array url, type, data
|
|
*/
|
|
public function ajax()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* Builds the datatable
|
|
* @return DataTable returns a DataTable instance
|
|
*/
|
|
public function build()
|
|
{
|
|
|
|
}
|
|
|
|
} |