PHP Class OpenSkill\Datatable\Columns\Searchable\Searchable

Show file Open project: openskill/datatable Class Usage Examples

Public Methods

Method Description
EXACT ( ) : ExactSearchable Will return a new searchable that will allow for an exact match.
NONE ( ) : OpenSkill\Datatable\Columns\Searchable\NoneSearchable Will construct a new searchable instance that is not searchable and is not regex searchable.
NORMAL ( ) : OpenSkill\Datatable\Columns\Searchable\DefaultSearchable Will construct a new searchable that will allow normal searching but not regex searching.
NOTIMPLEMENTED ( ) : NotImplementedSearchable Will return a new searchable that is not implemented.
REGEX ( ) : OpenSkill\Datatable\Columns\Searchable\RegexSearchable Will return a new searchable that will allow normal searching which also allows regex searching.
isSearchable ( ) : boolean Will return if this configuration allows searching on the column.

Method Details

EXACT() public static method

Will return a new searchable that will allow for an exact match.
public static EXACT ( ) : ExactSearchable
return ExactSearchable

NONE() public static method

Will construct a new searchable instance that is not searchable and is not regex searchable.
public static NONE ( ) : OpenSkill\Datatable\Columns\Searchable\NoneSearchable
return OpenSkill\Datatable\Columns\Searchable\NoneSearchable

NORMAL() public static method

Will construct a new searchable that will allow normal searching but not regex searching.
public static NORMAL ( ) : OpenSkill\Datatable\Columns\Searchable\DefaultSearchable
return OpenSkill\Datatable\Columns\Searchable\DefaultSearchable

NOTIMPLEMENTED() public static method

This is used for unit testing. Nothing to see here.
public static NOTIMPLEMENTED ( ) : NotImplementedSearchable
return NotImplementedSearchable

REGEX() public static method

Will return a new searchable that will allow normal searching which also allows regex searching.
public static REGEX ( ) : OpenSkill\Datatable\Columns\Searchable\RegexSearchable
return OpenSkill\Datatable\Columns\Searchable\RegexSearchable

isSearchable() abstract public method

Will return if this configuration allows searching on the column.
abstract public isSearchable ( ) : boolean
return boolean