PHP Class Redaxscript\Controller\Search

Since: 3.0.0
Author: Henry Ruhs
Author: Balázs Szilágyi
Inheritance: extends ControllerAbstract
Show file Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$tableArray array array of tables

Public Methods

Method Description
process ( ) : string process the class

Protected Methods

Method Description
_getColumnArray ( string $table = null ) : array get the column array
_getLikeArray ( string $table = null, array $searchArray = [] ) : array get the like array
_info ( array $infoArray = [] ) : string show the info
_renderResult ( array $resultArray = [] ) : string render the result
_search ( array $searchArray = [] ) : array search in tables
_validate ( array $queryArray = [], array $resultArray = [] ) : array validate

Method Details

_getColumnArray() protected method

get the column array
Since: 3.0.0
protected _getColumnArray ( string $table = null ) : array
$table string name of the table
return array

_getLikeArray() protected method

get the like array
Since: 3.0.0
protected _getLikeArray ( string $table = null, array $searchArray = [] ) : array
$table string name of the table
$searchArray array array of the search
return array

_info() protected method

show the info
Since: 3.0.0
protected _info ( array $infoArray = [] ) : string
$infoArray array array of the info
return string

_renderResult() protected method

render the result
Since: 3.0.0
protected _renderResult ( array $resultArray = [] ) : string
$resultArray array array of the result
return string

_validate() protected method

validate
Since: 3.0.0
protected _validate ( array $queryArray = [], array $resultArray = [] ) : array
$queryArray array array of the query
$resultArray array array of the result
return array

process() public method

process the class
Since: 3.0.0
public process ( ) : string
return string

Property Details

$tableArray protected property

array of tables
protected array $tableArray
return array