¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

3.1 General TYPO3 Features and APIs

Usuario eliminado 8 preguntas Actualizado el 27 abr 2022

Hacer el test

Preguntas del test (8)

  1. 1What needs to be done in a TYPO3 extension to send emails? (1)
    1. AThe standard PHP function mail() must be used
    2. BThe system extension swiftmailer needs to be installed and activated
    3. CThe GeneralUtility class provides a static function email() that should be used to send emails
    4. DAn instance of \TYPO3\CMS\Core\Mail\MailMessage needs to be created
    5. EBackend user records need to be retrieved from the database, because emails can only be sent to registered backend users for privacy reasons
  2. 2What is required to use the global Category API in a custom extension? (2)
    1. AThe method ExtensionManagementUtility::makeCategorizable() can be used
    2. BA relation to class \TYPO3\CMS\Extbase\Domain\Model\Category is required
    3. CA database field named categories must exist
    4. DA mapping to the category table needs to be added as TypoScript
    5. EA FlexForm with the field <categories> must be created
  3. 3Which statements about the MetaTag API are correct? (3)
    1. AThe TYPO3 core features an Open Graph MetaTagManager by default (system extension
      “SEO”)
    2. BDevelopers can only overwrite existing meta tags, but can not create custom tags by using the MetaTag API
    3. CDevelopers can not remove meta tags by using the MetaTagManager
    4. DWhen using the MetaTag API, meta tags can be set in TypoScript or in PHP (for example in a frontend plugin)
    5. ECustom MetaTagManager should implement the \TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface
    6. FThe system extension metatags must be installed to use the MetaTag API
  4. 4How do you configure the Doctrine DBAL Query Builder to also return hidden records? (1)
    1. AThis is not possible: TYPO3 never returns deleted or hidden records
    2. BBy setting the TypoScript option setup.tx_querybuilder.include.hidden = 1
    3. CBy using the method removeByType() of the RestrictionBuilder
    4. DBy using the method includeHiddenRecords() of the RestrictionBuilder
  5. 5Which value must be set in the database to make a dataset available in all languages? (1)
    1. Alanguage = 0
    2. Blanguage = -1
    3. Csys_language_uid = 0
    4. Dsys_language_uid = -1
    5. Et3_origuid = 0
  6. 6How do you determine the UID of a logged-in frontend user? (1)
    1. ABy executing the function $this->userContext->getUid() that is available in Extbase controllers by default
    2. BBy accessing the User Aspect of the Context API
    3. CBy accessing the global variable $GLOBALS['BE_USER']
    4. DThe only way is to query the database directly
  7. 7What does the following API call do in the TYPO3 backend? (2)

    use \TYPO3\CMS\Core\Utility\GeneralUtility;
    use \TYPO3\CMS\Core\Messaging\FlashMessage;
    ...
    $message = GeneralUtility::makeInstance(
    FlashMessage::class,
    'Lorem ipsum dolor sit amet.',
    'Excepteur sint occaecat cupidatat',
    FlashMessage::WARNING
    );
    1. AIt generates a warning as a Flash Message
    2. BIt produces a PHP exception if the instance runs in the development context
    3. CIt generates a Flash Message with the headline “Lorem ipsum dolor sit amet.”
    4. DIt generates a Flash Message with the body text “Lorem ipsum dolor sit amet.”
    5. EIt generates a message, if the user has Adobe Flash installed
    6. FThe message is stored in the session until shown to the user
  8. 8Which statements about TYPO3’s Flash Messages Renderer are correct? (3)
    1. AThe CLI context uses the BootstrapRenderer by default
    2. BThe backend uses the BootstrapRenderer by default
    3. CThe frontend context has no default class (developers have to implement their own renderer class)
    4. DThe FlashMessageRendererResolver detects the context to use the correct output format for Flash Messages
    5. EDevelopers can implement their own renderer class as required
    6. FThe Flash Message Renderer has been marked deprecated in TYPO3 v9 and will be removed in v10

Información

Descripción
El usuario ha eliminado su información de asignaturas Test sobre 3.1 General TYPO3 Features and APIs, creado por Usuario eliminado el 27/04/2022.
Autor
Usuario eliminado
Idioma
English
Visitas
22
Historial
Creado el 27 abr 2022 · actualizado el 27 abr 2022
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?