Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Member Functions | List of all members
base_atom Class Reference

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

Inheritance diagram for base_atom:
base_attribute base_final_element backup_attribute backup_final_element base_nested_element anonymizer_final_element base64_encode_final_element encrypted_final_element mnethosturl_final_element backup_nested_element base_optigroup backup_logstore_database_nested_element backup_optigroup_element file_nested_element backup_optigroup backup_plugin_element backup_subplugin_element

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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

base_atom::__construct (   $name)

Constructor - instantiates one base_atom, specifying its basic info.

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

The documentation for this class was generated from the following file: