GoConqr has a new look! Let us know what you think.

Quiz

3.2 Hooks, Signals/Slots and XCLASSes

Deleted user 6 questions Updated 27 Apr 2022

Take the quiz

Questions in this 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

Information

Description
User has deleted their subject information Quiz on 3.2 Hooks, Signals/Slots and XCLASSes, created by Deleted user on 27/04/2022.
Author
Deleted user
Language
English
Views
19
History
Created on 27 Apr 2022 · updated on 27 Apr 2022
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?