Свойство | Type | Description | |
---|---|---|---|
$escapeOutput | boolean | Disable escaping of tag based ViewHelpers so that the rendered tag is not htmlspecialchar'd | |
$tag | TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder | Tag builder instance | |
$tagName | string | Name of the tag to be created by this view helper |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor | |
handleAdditionalArguments ( array $arguments ) : void | Handles additional arguments, sorting out any data- prefixed tag attributes and assigning them. Then passes the unassigned arguments to the parent class' method, which in the default implementation will throw an error about "undeclared argument used". | |
initialize ( ) : void | Sets the tag name to $this->tagName. | |
injectTagBuilder ( TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder $tag ) : void |
Méthode | Description | |
---|---|---|
registerTagAttribute ( string $name, string $type, string $description, boolean $required = false, mixed $defaultValue = null ) : void | Register a new tag attribute. Tag attributes are all arguments which will be directly appended to a tag if you call $this->initializeTag() | |
registerUniversalTagAttributes ( ) : void | Registers all standard HTML universal attributes. |
public handleAdditionalArguments ( array $arguments ) : void | ||
$arguments | array | |
Résultat | void |
public initialize ( ) : void | ||
Résultat | void |
public injectTagBuilder ( TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder $tag ) : void | ||
$tag | TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder | |
Résultat | void |
protected registerTagAttribute ( string $name, string $type, string $description, boolean $required = false, mixed $defaultValue = null ) : void | ||
$name | string | Name of tag attribute |
$type | string | Type of the tag attribute |
$description | string | Description of tag attribute |
$required | boolean | set to TRUE if tag attribute is required. Defaults to FALSE. |
$defaultValue | mixed | Optional, default value of attribute if one applies |
Résultat | void |
protected registerUniversalTagAttributes ( ) : void | ||
Résultat | void |
protected bool $escapeOutput | ||
Résultat | boolean |
protected TagBuilder,TYPO3Fluid\Fluid\Core\ViewHelper $tag | ||
Résultat | TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder |
protected string $tagName | ||
Résultat | string |