Quiz
6.3 Widget ViewHelpers
Perguntas do quiz (6)
1Which statements about Widgets are correct? (2)
- AWidgets are ViewHelpers
- BWidgets feature their own controller
- CWidgets are interfaces
- DWidgets cannot be cascaded
- EWidgets do not return any content, but process them
2Which statements about Widgets are correct? (3)
- AWidget classes always extend the abstract class \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper
- BA Widget must have its own template
- CWidget class files should be stored in directory Classes/ViewHelpers/Widget/
- DWidgets can only be used in the frontend
- EWidgets can only be used in the backend
- FWidgets use their own ViewHelpers to manage sub-requests
3Which statements about files and directories for Widgets are correct by convention? (3)
- AWidget class files are located under Classes/ViewHelpers/Widgets/
- BWidget class files are located under Classes/Widgets/
- CThe controller class file of a Widget-ViewHelper is located under Classes/ViewHelpers/Widgets/Controller/
- DThe controller class file of a Widget-ViewHelper is located under Classes/Controller/Widgets/
- EWidgets must be registered in the global configuration file
typo3conf/LocalConfiguration.php - FTemplate files of a Widget are located under
Resources/Private/Templates/ViewHelpers/Widget/<widgetname>/
4Which Widget ViewHelpers are provided by the TYPO3 core by default? (3)
- A<f:widget.paginate> for the pagination of objects
- B<f:widget.sort> for sorting objects and arrays in alphanumeric order.
- C<f:widget.metaTags> for adding meta tags to the HTML output.
- D<f:widget.filter> for removing swearword from a text.
- E<f:widget.autocomplete> for auto-completing input fields.
- F<f:widget.link> for creating links to Extbase actions within widgets
5How can a custom template be used for a Widget shipped with the TYPO3 core? (1)
- AThis is not possible, because Widget templates are not configurable
- BBy utilising the subkey view.widget in TypoScript
- CBy utilising the subkey view.template in TypoScript
- DIf the template is located in the sub-directory widget, nothing more needs to be done
- ETemplate files with the file extension _w.html are automatically treated as Widget templates
6Which input values can be processed by the Paginate-ViewHelper? (3)
- A\TYPO3\CMS\Extbase\ViewHelpers\Paginate\InputValues
- B\TYPO3\CMS\Extbase\Persistence\Generic\QueryResultInterface
- C\TYPO3\CMS\Extbase\Persistence\ObjectStorage
- D\TYPO3\CMS\Extbase\Persistence\ObjectStorageInterface
- E\ArrayAccess
Informações
- Descrição
- O usuário eliminou as informações de disciplina Quiz sobre 6.3 Widget ViewHelpers, criado por Usuário eliminado em 27-04-2022.
- Autor
- Usuário eliminado
- Idioma
- English
- Visualizações
- 22
- Histórico
- Criado em 27 abr 2022 · atualizado em 27 abr 2022
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz