ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Message for the user. More...
Public Member Functions | |
__construct ($message, $type_id=self::TYPE_SUCCESS) | |
ilMessageStack constructor. More... | |
getMessageOutput () | |
getMessage () | |
setMessage ($message) | |
getTypeId () | |
setTypeId ($type_id) | |
Data Fields | |
const | TYPE_INFO = 0 |
const | TYPE_SUCCESS = 1 |
const | TYPE_ERROR = 2 |
Protected Member Functions | |
isValidTypeId ($type_id) | |
Protected Attributes | |
$message = "" | |
$type_id = self::TYPE_SUCCESS | |
Message for the user.
Mostly they are stacked, to be shown on rendering to the user all at once.
Definition at line 8 of file class.ilSystemStyleMessage.php.
ilSystemStyleMessage::__construct | ( | $message, | |
$type_id = self::TYPE_SUCCESS |
|||
) |
ilMessageStack constructor.
string | $message | |
int | $type_id |
Definition at line 29 of file class.ilSystemStyleMessage.php.
References $message, $type_id, setMessage(), and setTypeId().
ilSystemStyleMessage::getMessage | ( | ) |
Definition at line 47 of file class.ilSystemStyleMessage.php.
References $message.
Referenced by ilSystemStyleMessageTest\testConstructor(), and ilSystemStyleMessageTest\testGetAndSetMessage().
ilSystemStyleMessage::getMessageOutput | ( | ) |
Definition at line 39 of file class.ilSystemStyleMessage.php.
Referenced by ilSystemStyleMessageTest\testGetMessageOutput().
ilSystemStyleMessage::getTypeId | ( | ) |
Definition at line 63 of file class.ilSystemStyleMessage.php.
References $type_id.
Referenced by ilSystemStyleMessageTest\testConstructor(), and ilSystemStyleMessageTest\testGetAndSetTypeID().
|
protected |
Definition at line 81 of file class.ilSystemStyleMessage.php.
References $type_id, and TYPE_ERROR.
Referenced by setTypeId().
ilSystemStyleMessage::setMessage | ( | $message | ) |
string | $message |
Definition at line 55 of file class.ilSystemStyleMessage.php.
References $message.
Referenced by __construct(), and ilSystemStyleMessageTest\testGetAndSetMessage().
ilSystemStyleMessage::setTypeId | ( | $type_id | ) |
$type_id |
ilSystemStyleMessageStackException |
Definition at line 72 of file class.ilSystemStyleMessage.php.
References $type_id, isValidTypeId(), and ilSystemStyleMessageStackException\MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST.
Referenced by __construct(), and ilSystemStyleMessageTest\testGetAndSetTypeID().
|
protected |
Definition at line 17 of file class.ilSystemStyleMessage.php.
Referenced by __construct(), getMessage(), and setMessage().
|
protected |
Definition at line 22 of file class.ilSystemStyleMessage.php.
Referenced by __construct(), getTypeId(), isValidTypeId(), and setTypeId().
const ilSystemStyleMessage::TYPE_ERROR = 2 |
Definition at line 12 of file class.ilSystemStyleMessage.php.
Referenced by ilSystemStyleLessGUI\__construct(), ilSystemStyleOverviewGUI\checkDeletable(), ilSystemStyleLessGUI\checkLessInstallation(), ilSystemStyleLessGUI\checkRequirements(), ilSystemStyleOverviewGUI\checkStyleSettings(), ilSystemStyleOverviewGUI\confirmDelete(), ilSystemStyleOverviewGUI\copyStyle(), ilSystemStyleSkinContainer\create(), ilSystemStyleOverviewGUI\deleteStyle(), ilSystemStyleOverviewGUI\deleteStyles(), ilSystemStyleLessGUI\edit(), ilSystemStyleIconsGUI\getByIconValues(), ilSystemStyleOverviewGUI\saveNewSystemStyle(), ilSystemStyleMessageStack\sendMessages(), ilSystemStyleMessageStackTest\testAddMessage(), ilSystemStyleMessageTest\testConstructor(), ilSystemStyleMessageTest\testGetAndSetTypeID(), ilSystemStyleMessageStackTest\testJoinedMessages(), ilSystemStyleMessageStackTest\testPrependMessage(), ilSystemStyleIconsGUI\update(), and ilSystemStyleSkinContainer\updateStyle().
const ilSystemStyleMessage::TYPE_INFO = 0 |
Definition at line 10 of file class.ilSystemStyleMessage.php.
Referenced by ilSystemStyleMessageStackTest\createTestEnvironment(), ilSystemStyleMessageStack\sendMessages(), ilSystemStyleMessageStackTest\testAddMessage(), ilSystemStyleMessageTest\testConstructor(), ilSystemStyleMessageTest\testGetAndSetMessage(), ilSystemStyleMessageTest\testGetAndSetTypeID(), ilSystemStyleMessageTest\testGetMessageOutput(), and ilSystemStyleMessageStackTest\testPrependMessage().
const ilSystemStyleMessage::TYPE_SUCCESS = 1 |
Definition at line 11 of file class.ilSystemStyleMessage.php.
Referenced by ilSystemStyleSkinContainer\changeResourceDirectory(), ilSystemStyleSkinContainer\copy(), ilSystemStyleOverviewGUI\copyStyle(), ilSystemStyleSkinContainer\createMainLessFile(), ilSystemStyleSkinContainer\createResourceDirectory(), ilSystemStyleSkinContainer\delete(), ilSystemStyleSkinContainer\deleteFile(), ilSystemStyleSkinContainer\deleteStyle(), ilSystemStyleIconsGUI\getByIconValues(), ilSystemStyleOverviewGUI\importStyle(), ilSystemStyleSkinContainer\removeResourceDirectory(), ilSystemStyleIconsGUI\reset(), ilSystemStyleSettingsGUI\save(), ilSystemStyleSettingsGUI\saveStyle(), ilSystemStyleOverviewGUI\saveStyleSettings(), ilSystemStyleMessageStack\sendMessages(), ilSystemStyleMessageStackTest\testAddMessage(), ilSystemStyleMessageTest\testConstructor(), ilSystemStyleMessageStackTest\testGetAndSetMessages(), ilSystemStyleMessageTest\testGetAndSetTypeID(), ilSystemStyleMessageStackTest\testJoinedMessages(), ilSystemStyleMessageStackTest\testPrependMessage(), and ilSystemStyleIconsGUI\update().