registerArgument('param', 'string', "The parameter's name", true); } /** * -- This method is expected by Fluid -- * Renders the content as html * * @param array $arguments * @param Closure $renderChildrenClosure * @param RenderingContextInterface $renderingContext * @return string|null */ public static function renderStatic( array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext ) { $param = $arguments['param']; if (isset($_REQUEST[$param])) { return $_REQUEST[$param]; } return null; } }