|
| | _get ($key) |
| | Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
| |
| | _set ($key, $value) |
| | Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
| |
| | init () |
| |
| | done () |
| |
| | getSession () |
| |
| | publish ($property, $visibility=self::READABLE) |
| | Publish a property (or hide it again). More...
|
| |
| | alias ($alias, $property, $object=null) |
| | Define an alias for a property (of another object). More...
|
| |
| | configure ($config) |
| | Configure the object. More...
|
| |
Definition at line 5 of file Message.php.
◆ __call()
| __call |
( |
|
$func_name, |
|
|
|
$params |
|
) |
| |
◆ __invoke()
| __invoke |
( |
|
$message, |
|
|
|
$tags = null |
|
) |
| |
◆ _get()
Default getter if no specific setter is defined, and the property is also not published (readable).
- Parameters
-
| string | $key | Name of the property. |
- Returns
- mixed Value.
Reimplemented from Thing.
Definition at line 33 of file Message.php.
◆ _set()
Default setter if no specific setter is defined, and the property is also not published (writeable).
- Parameters
-
| string | $key | Name of the property. |
| mixed | $value | Value for the property. |
Reimplemented from Thing.
Definition at line 37 of file Message.php.
◆ add()
| add |
( |
|
$type, |
|
|
|
$message, |
|
|
|
$tags = null |
|
) |
| |
Add a message to the session.
- Parameters
-
| string | $type | Message type. |
| string | $message | The message. |
| array | $tags | Tags for the message translation (set to false to prevent translation). |
Definition at line 13 of file Message.php.
◆ retrieve()
| retrieve |
( |
|
$type = null, |
|
|
|
$clear = true |
|
) |
| |
Retrieve messages.
- Parameters
-
| string | $type | Retrieve only messages from this type (empty = retrieve all). |
| bool | $clear | When true, the retrieved messages will be removed from the session. |
- Returns
- array Messages (key = translated message, value = type).
Definition at line 26 of file Message.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Message.php