Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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 |
base_atom::set_value | ( | $value | ) |
Reimplemented in base64_encode_final_element, and encrypted_final_element.