ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Factory.php
Go to the documentation of this file.
1 <?php
2 
4 
9 
15 interface Factory
16 {
17 
54  public function interruptive($title, $message, $form_action);
55 
56 
88  public function interruptiveItem($id, $title, Image $icon = null, $description = '');
89 
90 
134  public function roundtrip($title, $content);
135 
136 
166  public function lightbox($pages);
167 
168 
194  public function lightboxImagePage(Image $image, $title, $description = '');
195 
219  public function lightboxTextPage(string $text, string $title);
220 }
lightboxImagePage(Image $image, $title, $description='')
description: purpose: > A Lightbox image page represents an image inside a Lightbox modal...
if(!array_key_exists('StateId', $_REQUEST)) $id
lightboxTextPage(string $text, string $title)
description: purpose: > A Lightbox text page represents a document like content/text inside a Lightb...
catch(Exception $e) $message
$text
Definition: errorreport.php:18
roundtrip($title, $content)
description: purpose: > Round-Trip modals are to be used if the context would be lost by performing ...
interruptiveItem($id, $title, Image $icon=null, $description='')
description: purpose: > Interruptive items are displayed in an Interruptive modal and represent the ...
lightbox($pages)
description: purpose: > The Lightbox modal displays media data such as images or videos...
interruptive($title, $message, $form_action)
description: purpose: > An Interruptive modal disrupts the user in critical situation, forcing him or her to focus on the task at hand.
This is how a factory for buttons looks like.
Definition: Factory.php:12