Parameters constructor
DataHandler
__construct
(String $nombreTabla, Array $parametros, [Bool $debug = false])
-
String
$nombreTabla
-
Array
$parametros: Array of String. Tags: ['rel_char'] ['id_char'] ['tree_char'] ['root_name']
-
Bool
$debug: if true function will throw debug messages as USER_NOTICE
This function deletes an atribute from the data table.
Function that deletes all data of the given id
Bool
deleteValuesById
(Integer $element_id, [Bool $debug = false])
-
Integer
$element_id
-
Bool
$debug: if true function will throw debug messages as USER_NOTICE
Returns the ids of an attribute with a specific property
Array
getIdsByProperty
(
Array $array,
$gestorEstructura,
$parametros, [
$debug =
false],
StructHandler $gestorEstructura.,
Bool $debug.)
-
Array
$array: Array of queryHandler.
-
StructHandler
$gestorEstructura.
-
Bool
$debug.: if true function will throw debug messages as USER_NOTICE
-
$gestorEstructura
-
$parametros
-
$debug
This function returns the database table's name.
String
getTableName
()
This function returns the value of a node with a known path.
-
String
$path: Path of the node to return.
-
ElementHandler
$ehObject.
-
StructHandler
$shObject.
-
RelationHandler
$rhObject.
-
Bool
$debug: if true function will throw debug messages as USER_NOTICE
-
$ehObject
-
$shObject
-
$rhObject
This function returns all differents values from a given path.
Array
getValuesFromPath
(
String $path,
StructHandler $shObject, [
Bool $debug =
false])
-
String
$path: Path to extract the information.
-
StructHandler
$shObject
-
Bool
$debug: if true function will throw debug messages as USER_NOTICE.
It returns an array composed by each element of the path.
This function sets a value of a path.
-
String
$path: Path of the node to set the attribute.
-
String
$value: Value to write.
-
ElementHandler
$ehObject
-
StructHandler
$shObject
-
RelationHandler
$rhObject.
-
Bool
$debug: if true function will throw debug messages as USER_NOTICE
-
$rhObject