コード例 #1
0
 /**
  * Initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('extension', 'array', 'Extension configuration array with extension information', true);
     $this->registerArgument('forceConfiguration', 'bool', 'If TRUE the content is only returned if a link could be generated', false, true);
     $this->registerArgument('showDescription', 'bool', 'If TRUE the extension description is also shown in the title attribute', false, false);
 }
コード例 #2
0
 /**
  * Initialize arguments
  *
  * @throws \TYPO3Fluid\Fluid\Core\ViewHelper\Exception
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('extension', 'array', '', true);
 }
コード例 #3
0
 /**
  * initialize arguments
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('extensionKey', 'string', 'Extension key', true);
 }