Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Redaxscript
Validator
Search
PHP Class Redaxscript\Validator\Search
Since:
3.0.0
Author:
Henry Ruhs
Inheritance:
implements
Redaxscript\Validator\ValidatorInterface
显示文件
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