Classes/Base/View.php
protected static function addFormparam( \Aimeos\MW\View\Iface $view, array $prefixes )
	{
		if( isset( $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['aimeos_view_formparam'] )
			&& is_callable( ( $fcn = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['aimeos_view_formparam'] ) )
		) {
			return $fcn( $view, $prefixes );
		}

		$helper = new \Aimeos\MW\View\Helper\Formparam\Standard( $view, $prefixes );
		$view->addHelper( 'formparam', $helper );

		return $view;
	}
protected static function addFormparam( \Aimeos\MW\View\Iface $view, array $prefixes )
	{
		if( isset( $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['aimeos_view_formparam'] )
			&& is_callable( ( $fcn = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['aimeos']['aimeos_view_formparam'] ) )
		) {
			return $fcn( $view, $prefixes );
		}

		$helper = new \Aimeos\MW\View\Helper\Formparam\Standard( $view, $prefixes );
		$view->addHelper( 'formparam', $helper );

		return $view;
	}
protected static function addFormparam ( \ Aimeos \ MW \ View \ Iface $ view , array $ prefixes ) { if ( isset ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'aimeos' ] [ 'aimeos_view_formparam' ] ) && is_callable ( ( $ fcn = $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'aimeos' ] [ 'aimeos_view_formparam' ] ) ) ) { return $ fcn ( $ view , $ prefixes ) ; } $ helper = new \ Aimeos \ MW \ View \ Helper \ Formparam \ Standard ( $ view , $ prefixes ) ; $ view -> addHelper ( 'formparam' , $ helper ) ; return $ view ; }
Adds the "formparam" helper to the view object

@param \Aimeos\MW\View\Iface $view View object
@param array $prefixes List of prefixes for the form name to build multi-dimensional arrays
@return \Aimeos\MW\View\Iface Modified view object
Adds the formparam helper to the view object