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
Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$SELF_CLOSING_TAGS array List of self-closing tags

Public Methods

Method 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 method

Return a tag
public evaluate ( ) : mixed
return mixed

getOmitClosingTag() public method

Whether to leave out the closing tag (defaults to FALSE)
public getOmitClosingTag ( ) : boolean
return boolean

getTagName() public method

..)
public getTagName ( ) : string
return string

isSelfClosingTag() public method

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

Property Details

$SELF_CLOSING_TAGS protected static property

List of self-closing tags
protected static array $SELF_CLOSING_TAGS
return array