|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| __construct ($name) | |
| get_name () | |
| Public API starts here. | |
| get_value () | |
| set_value ($value) | |
| clean_value () | |
| is_set () | |
| to_string ($showvalue=false) | |
Protected Member Functions | |
| validate_name ($name) | |
Abstract class representing one atom (name/value) piece of information
Definition at line 30 of file base_atom.class.php.
| __construct | ( | $ | name | ) |
Constructor - instantiates one base_atom, specifying its basic info.
| string | $name | name of the element |
| string | $value | optional value of the element |
Definition at line 47 of file base_atom.class.php.

| clean_value | ( | ) |
Reimplemented in base_nested_element.
Definition at line 87 of file base_atom.class.php.


| get_name | ( | ) |
Public API starts here.
Definition at line 71 of file base_atom.class.php.

| get_value | ( | ) |
Reimplemented in base_nested_element.
Definition at line 75 of file base_atom.class.php.

| is_set | ( | ) |
Reimplemented in mock_base_atom.
Definition at line 92 of file base_atom.class.php.

| set_value | ( | $ | value | ) |
Reimplemented in base_nested_element, mock_final_element_interceptor, mock_modify_final_element, mock_skip_final_element, mnethosturl_final_element, and anonymizer_final_element.
Definition at line 79 of file base_atom.class.php.

| to_string | ( | $ | showvalue = false | ) |
Reimplemented in base_nested_element, base_final_element, base_optigroup, and base_attribute.
Definition at line 96 of file base_atom.class.php.

| validate_name | ( | $ | name | ) | [protected] |