Represents the action menu of the tool.
More...
|
|
menu | $items = array() |
| | items
|
| |
Represents the action menu of the tool.
◆ add_item()
| tool_customlang_menu::add_item |
( |
|
$key, |
|
|
|
$title, |
|
|
moodle_url |
$url, |
|
|
|
$method |
|
) |
| |
Adds item into the menu.
- Parameters
-
| string | $key | item identifier |
| string | $title | localized action title |
| moodle_url | $url | action handler |
| string | $method | form method |
◆ get_items()
| tool_customlang_menu::get_items |
( |
| ) |
|
Returns the menu items.
- Return values
-
| array | (string)key => (object)[->(string)title ->(moodle_url)url ->(string)method] |
The documentation for this class was generated from the following file:
- admin/tool/customlang/locallib.php