ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\UI\Component\Toast\Toast Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\Toast\Toast:
+ Collaboration diagram for ILIAS\UI\Component\Toast\Toast:

Public Member Functions

 getTitle ()
 
 withDescription (string $description)
 
 getDescription ()
 
 withAdditionalLink (Link $link)
 
 withoutLinks ()
 
 getLinks ()
 
 withAction (string $action)
 Create a copy of this toast with an url, which is called asynchronous when the user interact with the item. More...
 
 getAction ()
 
 getIcon ()
 
 initSignals ()
 Init the default signals. More...
 
 getShowSignal ()
 Get the signal to show this toast in the frontend. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 
 reduceWith (\Closure $fn)
 The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. 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...
 

Detailed Description

Definition at line 35 of file Toast.php.

Member Function Documentation

◆ getAction()

ILIAS\UI\Component\Toast\Toast::getAction ( )

◆ getDescription()

ILIAS\UI\Component\Toast\Toast::getDescription ( )

◆ getIcon()

ILIAS\UI\Component\Toast\Toast::getIcon ( )

◆ getLinks()

ILIAS\UI\Component\Toast\Toast::getLinks ( )

◆ getShowSignal()

ILIAS\UI\Component\Toast\Toast::getShowSignal ( )

Get the signal to show this toast in the frontend.

Implemented in ILIAS\UI\Implementation\Component\Toast\Toast.

◆ getTitle()

ILIAS\UI\Component\Toast\Toast::getTitle ( )
Returns
string|Shy|Link

Implemented in ILIAS\UI\Implementation\Component\Toast\Toast.

◆ initSignals()

ILIAS\UI\Component\Toast\Toast::initSignals ( )

Init the default signals.

Implemented in ILIAS\UI\Implementation\Component\Toast\Toast.

◆ withAction()

ILIAS\UI\Component\Toast\Toast::withAction ( string  $action)

Create a copy of this toast with an url, which is called asynchronous when the user interact with the item.

Implemented in ILIAS\UI\Implementation\Component\Toast\Toast.

◆ withAdditionalLink()

ILIAS\UI\Component\Toast\Toast::withAdditionalLink ( Link  $link)

◆ withDescription()

ILIAS\UI\Component\Toast\Toast::withDescription ( string  $description)

◆ withoutLinks()

ILIAS\UI\Component\Toast\Toast::withoutLinks ( )

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