Пример #1
0
 /**
  * Initialize arguments.
  *
  * @return void
  * @author Bastian Waidelich <*****@*****.**>
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
     $this->registerTagAttribute('alt', 'string', 'Specifies an alternate text for an image', TRUE);
     $this->registerTagAttribute('ismap', 'string', 'Specifies an image as a server-side image-map. Rarely used. Look at usemap instead', FALSE);
     $this->registerTagAttribute('longdesc', 'string', 'Specifies the URL to a document that contains a long description of an image', FALSE);
     $this->registerTagAttribute('usemap', 'string', 'Specifies an image as a client-side image-map', FALSE);
 }
Пример #2
0
 /**
  * Initialize arguments
  *
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
 }
Пример #3
0
 /**
  * Initialize
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerUniversalTagAttributes();
     $this->registerTagAttribute('label', 'string', 'Label for this option group');
 }
 /**
  * Constructor
  *
  * @author Bastian Waidelich <*****@*****.**>
  */
 public function __construct()
 {
     t3lib_div::deprecationLog('the ViewHelper "' . get_class($this) . '" extends "Tx_Fluid_Core_ViewHelper_TagBasedViewHelper". This is deprecated since TYPO3 4.5. Please extend the class "Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper"');
     parent::__construct();
 }
Пример #5
0
 /**
  * Wrapper for registerArguments which additionally registers the entire arg
  * list - for use in auto-documentation and Fluid FCE processing. Point is
  * to be able to read a list of all, including inherited, arguments.
  *
  * @param string $name
  * @param string $type
  * @param string $description
  * @param boolean $required
  * @param mixed $defaultValue
  */
 public function registerArgument($name, $type, $description, $required = FALSE, $defaultValue = NULL)
 {
     $this->registeredArguments[$name] = func_get_args();
     parent::registerArgument($name, $type, $description, $required, $defaultValue);
 }