PHP Class Redaxscript\Validator\Search

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

Protected Properties

Свойство Type Description
$_rangeArray array allowed range for search

Méthodes publiques

Méthode Description
validate ( string $search = null, string $placeholder = null ) : boolean validate the search

Method Details

validate() public méthode

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
Résultat boolean

Property Details

$_rangeArray protected_oe property

allowed range for search
protected array $_rangeArray
Résultat array