PHP Class FluidTYPO3\Vhs\ViewHelpers\Iterator\ChunkViewHelper

Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Show file Open project: fluidtypo3/vhs

Public Methods

Method Description
initializeArguments ( ) : void
render ( integer $count, boolean $fixed = false, boolean $preserveKeys = false ) : array Render method

Method Details

initializeArguments() public method

public initializeArguments ( ) : void
return void

render() public method

Render method
public render ( integer $count, boolean $fixed = false, boolean $preserveKeys = false ) : array
$count integer The count of items per chunk or if fixed number of chunks
$fixed boolean Whether to allocate items to a fixed number of chunks or not
$preserveKeys boolean If set to true, the original array keys will be preserved in the chunks
return array