PHP Class Yajra\Datatables\Request

Author: Arjay Angeles ([email protected])
Inheritance: extends Illuminate\Http\Request
显示文件 Open project: yajra/laravel-datatables-oracle Class Usage Examples

Public Methods

Method Description
checkLegacyCode ( ) Check if request uses legacy code
columnKeyword ( integer $index ) : string Get column's search value.
columnName ( integer $i ) : string Get column identity from input or database.
isColumnOrderable ( integer $index ) : boolean Check if a column is orderable.
isColumnSearchable ( integer $i, boolean $column_search = true ) : boolean Check if a column is searchable.
isOrderable ( ) : boolean Check if Datatables ordering is enabled.
isPaginationable ( ) : boolean Check if Datatables allow pagination.
isRegex ( integer $index ) : string Check if Datatables must uses regular expressions
isSearchable ( ) : boolean Check if Datatables is searchable.
keyword ( ) : string Get global search keyword
orderableColumns ( ) : array Get orderable columns
searchableColumnIndex ( ) : array Get searchable column indexes

Method Details

checkLegacyCode() public method

Check if request uses legacy code
public checkLegacyCode ( )

columnKeyword() public method

Get column's search value.
public columnKeyword ( integer $index ) : string
$index integer
return string

columnName() public method

Get column identity from input or database.
public columnName ( integer $i ) : string
$i integer
return string

isColumnOrderable() public method

Check if a column is orderable.
public isColumnOrderable ( integer $index ) : boolean
$index integer
return boolean

isColumnSearchable() public method

Check if a column is searchable.
public isColumnSearchable ( integer $i, boolean $column_search = true ) : boolean
$i integer
$column_search boolean
return boolean

isOrderable() public method

Check if Datatables ordering is enabled.
public isOrderable ( ) : boolean
return boolean

isPaginationable() public method

Check if Datatables allow pagination.
public isPaginationable ( ) : boolean
return boolean

isRegex() public method

Check if Datatables must uses regular expressions
public isRegex ( integer $index ) : string
$index integer
return string

isSearchable() public method

Check if Datatables is searchable.
public isSearchable ( ) : boolean
return boolean

keyword() public method

Get global search keyword
public keyword ( ) : string
return string

orderableColumns() public method

Get orderable columns
public orderableColumns ( ) : array
return array

searchableColumnIndex() public method

Get searchable column indexes
public searchableColumnIndex ( ) : array
return array