Checkbox element used for bulk inserting values in the gradebook.
More...
|
| __construct ($item) |
| Constructor.
|
|
| get_insert_value ($data) |
| Get the value from either the user or grade.
|
|
| get_type ($data) |
| Get the type of this input (user or grade)
|
|
| html () |
| Generate the html for this form element.
|
|
| is_applied ($data) |
| Is this checkbox checked?
|
|
| 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.
|
|
|
string | $applyname |
| $applyname To store the "apply" suffix.
|
|
string | $insertname |
| $insertname To store the "value" suffix.
|
|
string | $selectname |
| $selectname To store the "type" suffix.
|
|
Checkbox element used for bulk inserting values in the gradebook.
- 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\bulk_insert::__construct |
( |
| $item | ) |
|
Constructor.
- Parameters
-
mixed | $item | The grade item or user. |
◆ get_insert_value()
gradereport_singleview\local\ui\bulk_insert::get_insert_value |
( |
| $data | ) |
|
Get the value from either the user or grade.
- Parameters
-
array | object | $data | The form data |
- Return values
-
◆ get_type()
gradereport_singleview\local\ui\bulk_insert::get_type |
( |
| $data | ) |
|
Get the type of this input (user or grade)
- Parameters
-
array | object | $data | The form data |
- Return values
-
◆ html()
gradereport_singleview\local\ui\bulk_insert::html |
( |
| ) |
|
◆ is_applied()
gradereport_singleview\local\ui\bulk_insert::is_applied |
( |
| $data | ) |
|
Is this checkbox checked?
- Parameters
-
array | object | $data | The form data |
- Return values
-
◆ 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:
- grade/report/singleview/classes/local/ui/bulk_insert.php