Moodle  2.2.1
http://www.collinsharper.com
base_atom Class Reference
Inheritance diagram for base_atom:

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)

Detailed Description

Abstract class representing one atom (name/value) piece of information

Definition at line 30 of file base_atom.class.php.


Constructor & Destructor Documentation

__construct ( name)

Constructor - instantiates one base_atom, specifying its basic info.

Parameters:
string$namename of the element
string$valueoptional value of the element

Definition at line 47 of file base_atom.class.php.

Here is the call graph for this function:


Member Function Documentation

Reimplemented in base_nested_element.

Definition at line 87 of file base_atom.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

get_name ( )

Public API starts here.

Definition at line 71 of file base_atom.class.php.

Here is the caller graph for this function:

get_value ( )

Reimplemented in base_nested_element.

Definition at line 75 of file base_atom.class.php.

Here is the caller graph for this function:

is_set ( )

Reimplemented in mock_base_atom.

Definition at line 92 of file base_atom.class.php.

Here is the caller graph for this function:

set_value ( value)
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.

Here is the call graph for this function:

validate_name ( name) [protected]

Definition at line 56 of file base_atom.class.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations