ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Factory.php
Go to the documentation of this file.
1<?php
2
4
9
15interface 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}
An exception for terminatinating execution or to throw for unit testing.
if(!array_key_exists('StateId', $_REQUEST)) $id
This is how a factory for buttons looks like.
Definition: Factory.php:13
lightboxImagePage(Image $image, $title, $description='')
interruptive($title, $message, $form_action)
interruptiveItem($id, $title, Image $icon=null, $description='')
lightboxTextPage(string $text, string $title)
catch(Exception $e) $message
$text
Definition: errorreport.php:18