Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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. | |
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.