Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
LightnCandy
Validator
doIf
LightnCandy\Validator::doIf PHP Method
Validator Class Documentation
Show file
Open project: zordius/lightncandy
doIf()
protected
static
method
validate if token
protected
static
doIf
(
array\array
string | integer>
&
$context
,
array
integer |
string
| array>
$vars
) :
boolean
$context
array\array
string | integer>
$vars
array
integer |
string
| array>
return
boolean
Return true always
protected static function doIf(&$context, $vars) { static::builtin($context, $vars); return true; }
Validator
blockBegin
blockCustomHelper
blockEnd
builtin
comment
delimiter
doElse
doElseChain
doIf
helper
inline
inlinePartial
invertedSection
isBlockHelper
isDelimiter
log
lookup
operator
partial
partialBlock
pushLeft
pushStack
pushToken
rawblock
resolveHelper
section
spacing
token
unless
verify
with