Abstract class representing one final element atom (name/value/parent) piece of information.
More...
|
| | __construct ($name, $attributes=null) |
| | Constructor - instantiates one base_final_element, specifying its basic info.
|
| |
| | add_attributes ($attributes) |
| |
|
| clean_value () |
| |
|
| clean_values () |
| |
| | destroy () |
| | Destroy all circular references.
|
| |
|
| get_attribute ($name) |
| |
|
| get_attributes () |
| | Public API starts here.
|
| |
| | get_level () |
| |
|
| get_name () |
| | Public API starts here.
|
| |
|
| get_parent () |
| |
|
| get_value () |
| |
|
| is_set () |
| |
| | set_value ($value) |
| |
| | to_string ($showvalue=false) |
| |
|
|
| find_element_by_path ($path) |
| |
|
| find_first_parent_by_name ($name) |
| |
|
| get_grandoptigroupelement_or_grandparent () |
| |
|
| get_grandparent () |
| |
| | get_new_attribute ($name) |
| | Returns one instace of the @base_attribute class to work with when attributes are added simply by name.
|
| |
| | set_parent ($element) |
| |
|
| validate_name ($name) |
| |
Abstract class representing one final element atom (name/value/parent) piece of information.
- Copyright
- 2010 onwards Eloy Lafuente (stronk7)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
TODO: Finish phpdocs
◆ __construct()
| base_final_element::__construct |
( |
| $name, |
|
|
| $attributes = null ) |
Constructor - instantiates one base_final_element, specifying its basic info.
- Parameters
-
| string | $name | name of the element |
| array | $attributes | attributes this element will handle (optional, defaults to null) |
Reimplemented in encrypted_final_element.
◆ add_attributes()
| base_final_element::add_attributes |
( |
| $attributes | ) |
|
◆ destroy()
| base_final_element::destroy |
( |
| ) |
|
◆ get_level()
| base_final_element::get_level |
( |
| ) |
|
◆ get_new_attribute()
| base_final_element::get_new_attribute |
( |
| $name | ) |
|
|
abstractprotected |
◆ set_parent()
| base_final_element::set_parent |
( |
| $element | ) |
|
|
protected |
◆ set_value()
| base_atom::set_value |
( |
| $value | ) |
|
|
inherited |
◆ to_string()
| base_final_element::to_string |
( |
| $showvalue = false | ) |
|
The documentation for this class was generated from the following file: