Element that just generates some text.  
 More...
|  | 
|  | __construct (?string $msg=null) | 
|  | Constructor. 
 | 
|  | 
|  | html () | 
|  | Generate the html (simple case) 
 | 
|  | 
|  | is_checkbox () | 
|  | Nasty function used for spreading checkbox logic all around. 
 | 
|  | 
|  | is_dropdown () | 
|  | Nasty function used for spreading dropdown logic all around. 
 | 
|  | 
|  | is_textbox () | 
|  | Nasty function used for spreading textbox logic all around. 
 | 
|  | 
|  | 
| string | $label | 
|  | The form label for this input. 
 | 
|  | 
| string | $name | 
|  | The first bit of the name for this input. 
 | 
|  | 
| string | $value | 
|  | The value for this input. 
 | 
|  | 
Element that just generates some text. 
- Copyright
- 2014 Moodle Pty Ltd (http://moodle.com) 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ __construct()
      
        
          | gradereport_singleview\local\ui\empty_element::__construct | ( | ?string | $msg = null | ) |  | 
      
 
Constructor. 
- Parameters
- 
  
    | string | null | $msg | The text |  
 
 
 
◆ html()
      
        
          | gradereport_singleview\local\ui\empty_element::html | ( |  | ) |  | 
      
 
 
◆ is_checkbox()
  
  | 
        
          | gradereport_singleview\local\ui\element::is_checkbox | ( |  | ) |  |  | inherited | 
 
 
◆ is_dropdown()
  
  | 
        
          | gradereport_singleview\local\ui\element::is_dropdown | ( |  | ) |  |  | inherited | 
 
 
◆ is_textbox()
  
  | 
        
          | gradereport_singleview\local\ui\element::is_textbox | ( |  | ) |  |  | inherited | 
 
 
◆ $label
  
  | 
        
          | string gradereport_singleview\local\ui\element::$label |  | inherited | 
 
The form label for this input. 
$label 
 
 
◆ $name
  
  | 
        
          | string gradereport_singleview\local\ui\element::$name |  | inherited | 
 
The first bit of the name for this input. 
$name 
 
 
◆ $value
  
  | 
        
          | string gradereport_singleview\local\ui\element::$value |  | inherited | 
 
The value for this input. 
$value 
 
 
The documentation for this class was generated from the following file: