ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.
Returns
string
More...
 
 withAsyncRenderUrl ($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.
Parameters
string$url
Returns
$this
More...
 
 withCloseWithKeyboard ($state)
 Get a modal like this which can or cannot be closed by keyboard (ESC), depending on the given $state.
Parameters
bool$state
Returns
$this
More...
 
 getCloseWithKeyboard ()
 Returns if this modal can be closed with the keyboard (ESC key)
Returns
bool
More...
 
 getShowSignal ()
 Get the signal to show this modal in the frontend.
Returns
Signal
More...
 
 getCloseSignal ()
 Get the signal to close this modal in the frontend.
Returns
Signal
More...
 
 withResetSignals ()
 Get a component like this but reset (regenerate) its signals.
Returns
$this
More...
 
 withOnLoad (Signal $signal)
 Trigger a signal of another component on load.
Parameters
Signal$signalA signal of another component
Returns
$this
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.
Parameters
Signal$signal
Returns
$this
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 Member Functions inherited from ILIAS\UI\Implementation\Component\Modal\Modal
 initSignals ()
 Set the show and close signals for this modal. More...
 
- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Modal\Modal
 $signal_generator
 
 $show_signal
 
 $close_signal
 
 $async_render_url = ''
 
 $close_with_keyboard = true
 

Detailed Description

Definition at line 58 of file ModalTest.php.

Member Function Documentation

◆ getCanonicalName()

ModalMock::getCanonicalName ( )

Get the canonical name of the component.

Returns
string

Implements ILIAS\UI\Component\Component.

Definition at line 60 of file ModalTest.php.

61  {
62  return "Modal Mock";
63  }

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