Represents the action menu of the tool.  
 More...
|  | 
|  | __construct (array $items=array()) | 
|  | 
|  | add_item ($key, $title, moodle_url $url, $method) | 
|  | Adds item into the menu. 
 | 
|  | 
|  | get_items () | 
|  | Returns the menu items. 
 | 
|  | 
|  | 
| 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: