[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/util/structure/ -> base_atom.class.php (summary)

(no description)

Copyright: 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 166 lines (5 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 2 classes

base_atom_struct_exception:: (1 method):
  __construct()

base_atom_content_exception:: (1 method):
  __construct()

Defines 1 function

  __construct()
  validate_name()
  get_name()
  get_value()
  set_value()
  clean_value()
  is_set()
  to_string()
  __construct()

Class: base_atom_struct_exception  - X-Ref

base_atom exception to control all the errors while creating the objects

This exception will be thrown each time the base_atom class detects some
inconsistency related with the creation of objects and their attributes
(wrong names)
__construct($errorcode, $a = null, $debuginfo = null)   X-Ref
Constructor - instantiates one base_atom_struct_exception

param: string $errorcode key for the corresponding error string
param: object $a extra words and phrases that might be required in the error string
param: string $debuginfo optional debugging information

Class: base_atom_content_exception  - X-Ref

base_atom exception to control all the errors while setting the values

This exception will be thrown each time the base_atom class detects some
inconsistency related with the creation of contents (values) of the objects
(bad contents, setting without cleaning...)
__construct($errorcode, $a = null, $debuginfo = null)   X-Ref
Constructor - instantiates one base_atom_content_exception

param: string $errorcode key for the corresponding error string
param: object $a extra words and phrases that might be required in the error string
param: string $debuginfo optional debugging information

Functions
Functions that are not part of a class:

__construct($name)   X-Ref
Constructor - instantiates one base_atom, specifying its basic info.

param: string $name name of the element
param: string $value optional value of the element

validate_name($name)   X-Ref
No description

get_name()   X-Ref
No description

get_value()   X-Ref
No description

set_value($value)   X-Ref
No description

clean_value()   X-Ref
No description

is_set()   X-Ref
No description

to_string($showvalue = false)   X-Ref
No description

__construct($errorcode, $a = null, $debuginfo = null)   X-Ref
Constructor - instantiates one base_atom_exception.

param: string $errorcode key for the corresponding error string
param: object $a extra words and phrases that might be required in the error string
param: string $debuginfo optional debugging information



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1