O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

3.2 Hooks, Signals/Slots and XCLASSes

Usuário eliminado 6 perguntas Atualizado em 27 abr 2022

Fazer o quiz

Perguntas do quiz (6)

  1. 1What are “signals/slots” and how do you use them? (2)
    1. ASignals notify developers about security risks in their code
    2. BThe signal/slot concept can be used to extend TYPO3 core functionality
    3. CThe signal/slot dispatcher is required to emit a signal
    4. DSlots are an abstract instance of a signal class
  2. 2What are “signals”? (1)
    1. ASignals are classes located in directory Classes/Signals/
    2. BSignals are used to write entries to the internal log
    3. CSignals are building blocks for domain driven design
    4. DSignals are used to connect external data sources to Extbase
    5. ESignals are emitted by the TYPO3 core or by extensions to extend existing functionality
  3. 3What are typical benefits of “signals/slots”? (2)
    1. ASignals/slots extend the TYPO3 core without the need to edit core files
    2. BSignals/slots are meant to simulate SQL procedures using pure PHP code
    3. CSignals are never marked deprecated and will remain in the TYPO3 core forever
    4. DOne signal can trigger multiple slots
  4. 4How do you connect a slot to a signal when using TYPO3’s SignalSlotDispatcher? (1)
    1. Ajoin()
    2. Bconnect()
    3. Cattach()
    4. Dinsert()
    5. Eslot()
  5. 5Which statements about XCLASSes are correct? (2)
    1. AXCLASSes prevent cross-site scripting (XSS) attacks
    2. BXCLASSes extend core classes and/or overwrite core methods
    3. CXCLASSes need to be registered in the file Configuration/Overrides/xclasses.php
    4. DXCLASSes need to be registered in the following global array:
      $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']
    5. EXCLASSes replace files from TYPO3 source package which possibly impacts the TYPO3 update process
  6. 6What are typical limitations of XCLASSes? (3)
    1. AXCLASSes only work on core classes that are instantiated using the GeneralUtility::makeInstance() method
    2. BXCLASSes do not work on static classes, static methods or final classes
    3. CThere can only by one XCLASS per base class
    4. DXCLASSes only work in Composer-based TYPO3 installations
    5. EThe visibility of all properties of an XCLASS must be private

Informações

Descrição
O usuário eliminou as informações de disciplina Quiz sobre 3.2 Hooks, Signals/Slots and XCLASSes, criado por Usuário eliminado em 27-04-2022.
Autor
Usuário eliminado
Idioma
English
Visualizações
19
Histórico
Criado em 27 abr 2022 · atualizado em 27 abr 2022
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?