PHP Class Neos\Fusion\TypoScriptObjects\TagImplementation

tsPath attributes An array with attributes for this tag (optional) tsPath content Content for the body of the tag (optional)
Inheritance: extends AbstractTypoScriptObject
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$SELF_CLOSING_TAGS array List of self-closing tags

Méthodes publiques

Méthode Description
evaluate ( ) : mixed Return a tag
getOmitClosingTag ( ) : boolean Whether to leave out the closing tag (defaults to FALSE)
getTagName ( ) : string The tag name (e.g. 'body', 'head', 'title', .
isSelfClosingTag ( string $tagName ) : boolean Whether to force a self closing tag (e.g. '
')

Method Details

evaluate() public méthode

Return a tag
public evaluate ( ) : mixed
Résultat mixed

getOmitClosingTag() public méthode

Whether to leave out the closing tag (defaults to FALSE)
public getOmitClosingTag ( ) : boolean
Résultat boolean

getTagName() public méthode

..)
public getTagName ( ) : string
Résultat string

isSelfClosingTag() public méthode

Whether to force a self closing tag (e.g. '
')
public isSelfClosingTag ( string $tagName ) : boolean
$tagName string
Résultat boolean

Property Details

$SELF_CLOSING_TAGS protected_oe static_oe property

List of self-closing tags
protected static array $SELF_CLOSING_TAGS
Résultat array