Zusammenfassung der Ressource
Frage 1
Frage
Which of the following declarations is the correct syntax for a namespace in Fluid? (1)
Antworten
-
{namespace foo=\Vendor\MyExtension\ViewHelpers}
-
{namespace foo=Vendor\MyExtension\ViewHelpers}
-
{namespace foo=Vendor/MyExtension/ViewHelpers}
-
{namespace foo=/Vendor/MyExtension/ViewHelper}
-
{namespace foo=\\Vendor\\MyExtension\\ViewHelpers}
Frage 2
Frage
Which of the following declarations is the correct syntax for a namespace in Fluid? (1)
Antworten
-
<!doctype typo3-fluid>
<html>
...
</html>
-
<html id="typo3-fluid">
...
</html>
-
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
...
</html>
-
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true" ...>
...
</html>
Frage 3
Frage
Which of the following ViewHelper syntax are valid, if the ViewHelper’s name is FooBar? (3)
Antworten
-
<f:fooBar arguments="{key: 'value'}">content</f:fooBar>
-
<f:fooBar arguments="{key: 'value'}" />
-
<f:fooBar {key: 'value'} />
-
{f:fooBar(key: 'value')}
-
{f:fooBar->(key: 'value')}