ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ModalMock Class Reference
+ Inheritance diagram for ModalMock:
+ Collaboration diagram for ModalMock:

Public Member Functions

 getCanonicalName ()
 Get the canonical name of the component. More...
 
- Public Member Functions inherited from ILIAS\UI\Implementation\Component\Modal\Modal
 __construct (SignalGeneratorInterface $signal_generator)
 
 getAsyncRenderUrl ()
 Get the url returning the rendered modal, if the modals content should be rendered via ajax. More...
 
 withAsyncRenderUrl (string $url)
 Get a modal like this who's content is rendered via ajax by the given $url before the modal is shown.Means: After the show signal has been triggered but before the modal is displayed to the user, an ajax request is sent to this url. The request MUST return the rendered output of a modal.
Returns
static
More...
 
 withCloseWithKeyboard (bool $state)
 Get a modal like this which can or cannot be closed by keyboard (ESC), depending on the given $state.
Returns
static
More...
 
 getCloseWithKeyboard ()
 Returns if this modal can be closed with the keyboard (ESC key) More...
 
 getShowSignal ()
 Get the signal to show this modal in the frontend. More...
 
 getCloseSignal ()
 Get the signal to close this modal in the frontend. More...
 
 withResetSignals ()
 Get a component like this but reset (regenerate) its signals.
Returns
static
More...
 
 withOnLoad (Signal $signal)
 Trigger a signal of another component on load.
Parameters
Signal$signalA signal of another component
Returns
static
More...
 
 appendOnLoad (Signal $signal)
 Get a component like this, triggering a signal of another component on load.In contrast to withOnLoad, the signal is appended to existing signals for the on load event.
Returns
static
More...
 
 withOnClose (Signal $signal)
 Get a component like this, triggering a signal of another component on close. More...
 
 appendOnClose (Signal $signal)
 Get a component like this, triggering a signal of another component on close. More...
 
 initSignals ()
 Set the show and close signals for this modal. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable
 withOnLoadCode (Closure $binder)
 
 withAdditionalOnLoadCode (Closure $binder)
 Add some onload-code to the component instead of replacing the existing one. More...
 
 getOnLoadCode ()
 Get the currently bound on load code. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Triggerer
 withResetTriggeredSignals ()
 Get a component like this but reset any triggered signals of other components. More...
 
 getTriggeredSignals ()
 Get all triggered signals of this component. More...
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Modal\Modal
SignalGeneratorInterface $signal_generator
 
Signal $show_signal
 
Signal $close_signal
 
string $async_render_url = ''
 
bool $close_with_keyboard = true
 

Detailed Description

Definition at line 76 of file ModalTest.php.

Member Function Documentation

◆ getCanonicalName()

ModalMock::getCanonicalName ( )

Get the canonical name of the component.

Implements ILIAS\UI\Component\Component.

Definition at line 78 of file ModalTest.php.

78  : string
79  {
80  return "Modal Mock";
81  }

The documentation for this class was generated from the following file: