|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Abstract class representing one atom (name/value) piece of information. More...
Public Member Functions | |
| __construct ($name) | |
| Constructor - instantiates one base_atom, specifying its basic info. More... | |
| clean_value () | |
| get_name () | |
| Public API starts here. | |
| get_value () | |
| is_set () | |
| set_value ($value) | |
| to_string ($showvalue=false) | |
Protected Member Functions | |
| validate_name ($name) | |
Abstract class representing one atom (name/value) piece of information.
| base_atom::__construct | ( | $name | ) |
Constructor - instantiates one base_atom, specifying its basic info.
| string | $name | name of the element |
| string | $value | optional value of the element |