PHP Class FluidTYPO3\Vhs\ViewHelpers\Condition\Iterator\ContainsViewHelper

Author: Claus Due ([email protected])
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
Show file Open project: fluidtypo3/vhs Class Usage Examples

Public Methods

Method Description
initializeArguments ( ) Initialize arguments

Protected Methods

Method Description
assertHaystackHasNeedle ( mixed $haystack, mixed $needle, array $arguments ) : boolean | integer
assertHaystackIsArrayAndHasNeedle ( mixed $haystack, mixed $needle, array $arguments ) : boolean | integer
assertHaystackIsObjectStorageAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
assertHaystackIsQueryResultAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
assertHaystackIsStringAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
evaluateCondition ( array $arguments = null ) : boolean
getNeedleAtIndex ( integer $index, array $arguments ) : mixed

Method Details

assertHaystackHasNeedle() protected static method

protected static assertHaystackHasNeedle ( mixed $haystack, mixed $needle, array $arguments ) : boolean | integer
$haystack mixed
$needle mixed
$arguments array
return boolean | integer

assertHaystackIsArrayAndHasNeedle() protected static method

protected static assertHaystackIsArrayAndHasNeedle ( mixed $haystack, mixed $needle, array $arguments ) : boolean | integer
$haystack mixed
$needle mixed
$arguments array
return boolean | integer

assertHaystackIsObjectStorageAndHasNeedle() protected static method

protected static assertHaystackIsObjectStorageAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
$haystack mixed
$needle mixed
return boolean | integer

assertHaystackIsQueryResultAndHasNeedle() protected static method

protected static assertHaystackIsQueryResultAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
$haystack mixed
$needle mixed
return boolean | integer

assertHaystackIsStringAndHasNeedle() protected static method

protected static assertHaystackIsStringAndHasNeedle ( mixed $haystack, mixed $needle ) : boolean | integer
$haystack mixed
$needle mixed
return boolean | integer

evaluateCondition() protected static method

protected static evaluateCondition ( array $arguments = null ) : boolean
$arguments array
return boolean

getNeedleAtIndex() protected static method

protected static getNeedleAtIndex ( integer $index, array $arguments ) : mixed
$index integer
$arguments array
return mixed

initializeArguments() public method

Initialize arguments
public initializeArguments ( )