null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
30183681
6.3 Widget ViewHelpers
Description
TYPO3 CD 2020 (zweite Auflage) Quiz on 6.3 Widget ViewHelpers, created by Pascal Bartl on 09/04/2021.
No tags specified
typo3 cd 2020 (zweite auflage)
Quiz by
Pascal Bartl
, updated more than 1 year ago
More
Less
Created by
Pascal Bartl
over 3 years ago
0
0
0
Resource summary
Question 1
Question
Which statements about Widgets are correct? (2)
Answer
Widgets are ViewHelpers
Widgets feature their own controller
Widgets are interfaces
Widgets cannot be cascaded
Widgets do not return any content, but process them
Question 2
Question
Which statements about Widgets are correct? (3)
Answer
Widget classes always extend the abstract class \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper
A Widget must have its own template
Widget class files should be stored in directory Classes/ViewHelpers/Widget/
Widgets can only be used in the frontend
Widgets can only be used in the backend
Widgets use their own ViewHelpers to manage sub-requests
Question 3
Question
Which statements about files and directories for Widgets are correct by convention? (3)
Answer
Widget class files are located under Classes/ViewHelpers/Widgets/
Widget class files are located under Classes/Widgets/
The controller class file of a Widget-ViewHelper is located under Classes/ViewHelpers/Widgets/Controller/
The controller class file of a Widget-ViewHelper is located under Classes/Controller/Widgets/
Widgets must be registered in the global configuration file typo3conf/LocalConfiguration.php
Template files of a Widget are located under Resources/Private/Templates/ViewHelpers/Widget/<widgetname>/
Question 4
Question
Which Widget ViewHelpers are provided by the TYPO3 core by default? (3)
Answer
<f:widget.paginate> for the pagination of objects
<f:widget.sort> for sorting objects and arrays in alphanumeric order.
<f:widget.metaTags> for adding meta tags to the HTML output.
<f:widget.filter> for removing swearword from a text.
<f:widget.autocomplete> for auto-completing input fields.
<f:widget.link> for creating links to Extbase actions within widgets
Question 5
Question
How can a custom template be used for a Widget shipped with the TYPO3 core? (1)
Answer
This is not possible, because Widget templates are not configurable
By utilising the subkey view.widget in TypoScript
By utilising the subkey view.template in TypoScript
If the template is located in the sub-directory widget, nothing more needs to be done
Template files with the file extension _w.html are automatically treated as Widget templates
Question 6
Question
Which input values can be processed by the Paginate-ViewHelper? (3)
Answer
\TYPO3\CMS\Extbase\ViewHelpers\Paginate\InputValues
\TYPO3\CMS\Extbase\Persistence\Generic\QueryResultInterface
\TYPO3\CMS\Extbase\Persistence\ObjectStorage
\TYPO3\CMS\Extbase\Persistence\ObjectStorageInterface
\ArrayAccess
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Quiz Geral
miminoma
BIOLOGY B1 1
x_clairey_x
AS-Level Chemistry: Unit 1:The Atom
Daena Targaryen
The Cold War: An Overview
Andrea Leyden
P1 quiz
I M Wilson
Chemistry 2
Peter Hoskins
Top learning tips for students
Micheal Heffernan
New GCSE history content
Sarah Egan
Salesforce Admin 201 Exam Chunk 3 (66-90)
Brianne Wright
1PR101 2.test - Část 10.
Nikola Truong
1PR101 2.test - Část 18.
Nikola Truong
Browse Library