PHP Class Redaxscript\Validator\Search

Since: 3.0.0
Author: Henry Ruhs
Inheritance: implements Redaxscript\Validator\ValidatorInterface
Mostra file Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_rangeArray array allowed range for search

Public Methods

Method Description
validate ( string $search = null, string $placeholder = null ) : boolean validate the search

Method Details

validate() public method

validate the search
Since: 3.0.0
public validate ( string $search = null, string $placeholder = null ) : boolean
$search string target search term
$placeholder string target search placeholder
return boolean

Property Details

$_rangeArray protected_oe property

allowed range for search
protected array $_rangeArray
return array