|
| | init () |
| |
| | getData () |
| |
| | 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...
|
| |
| | _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...
|
| |
Definition at line 5 of file View.php.
◆ getData()
◆ init()
◆ jsonEncode()
◆ menu()
| menu |
( |
|
$menu, |
|
|
|
$type = null |
|
) |
| |
Filter menu items on user rights.
- Parameters
-
| array | $menu | Array with menu items. Each item is an array with (optional) keys:
- caption: caption for the menu item (when not provided the global menuCaptionId is used).
- controller: controller (page) for this item.
- link: link for this page (overrides reverse controller name route, but can also be used in absence of controller).
- right: right the user must have to view this page, and thus the menu item (controller default right is also checked).
- items: array with sub-menu items.
|
| string | $type | View type (empty = default; true = current). |
- Returns
- array Nested array with only viewable items, or items with sub-items. Key = caption. value = array with:
- link: link for the item.
- items: sub items (always present; might be empty).
Definition at line 42 of file View.php.
◆ render()
◆ $_controller
◆ $_title
◆ $convert
◆ $maxInt
Higher numbers (integers) will not be converted (from string).
Definition at line 10 of file View.php.
◆ $menuCaptionId
| $menuCaptionId = 'menu-*' |
String ID for the menu item caption (an asterisk will be replaced with the controller.
Definition at line 11 of file View.php.
◆ $minifiedPath
◆ $numericCheck
Convert numeric strings to numbers.
Definition at line 9 of file View.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Controller/View.php