Public Member Functions | |
__construct ($server, $dataBase, $user, $password) | |
createDB ($db_name) | |
getElementsData (&$element, $filters=null, $range= '0, 500') | |
readElement (&$element) | |
processRange ($range) | |
processConditions ($conditions) | |
isSetElementStorage (\SimplOn\Elements\Element &$element) | |
alterTable (\SimplOn\Elements\Element $element) | |
isValidElementStorage (\SimplOn\Elements\Element &$element) | |
createTable ($element) | |
ensureElementStorage (\SimplOn\Elements\Element &$element) | |
getDataTypes (\SimplOn\Elements\Element &$element) | |
delete (\SimplOn\Elements\Element &$element) | |
deleteElement (\SimplOn\Elements\Element &$element) | |
createElement (\SimplOn\Elements\Element &$element) | |
updateElement (\SimplOn\Elements\Element &$element) | |
readElements (\SimplOn\Elements\Element &$element, $returnAs= 'array') | |
filterCriteria ($element_or_criteria) | |
obtainValues (\SimplOn\Elements\Element &$element, $query_string) | |
Data Fields | |
$db | |
Static Public Attributes | |
static | $typesMap |
static | $operandsMap |
__construct | ( | $ | server, |
$ | dataBase, | ||
$ | user, | ||
$ | password | ||
) | [abstract] |
alterTable | ( | \SimplOn\Elements\Element $ | element | ) |
createElement | ( | \SimplOn\Elements\Element &$ | element | ) |
createTable | ( | $ | element | ) |
delete | ( | \SimplOn\Elements\Element &$ | element | ) |
deleteElement | ( | \SimplOn\Elements\Element &$ | element | ) |
ensureElementStorage | ( | \SimplOn\Elements\Element &$ | element | ) |
filterCriteria | ( | $ | element_or_criteria | ) |
getDataTypes | ( | \SimplOn\Elements\Element &$ | element | ) |
getElementsData | ( | &$ | element, |
$ | filters = null , |
||
$ | range = '0 , |
||
500' | |||
) |
isSetElementStorage | ( | \SimplOn\Elements\Element &$ | element | ) |
isValidElementStorage | ( | \SimplOn\Elements\Element &$ | element | ) |
obtainValues | ( | \SimplOn\Elements\Element &$ | element, |
$ | query_string | ||
) |
processConditions | ( | $ | conditions | ) |
processRange | ( | $ | range | ) |
readElement | ( | &$ | element | ) |
readElements | ( | \SimplOn\Elements\Element &$ | element, |
$ | returnAs = 'array' |
||
) |
updateElement | ( | \SimplOn\Elements\Element &$ | element | ) |
$db |
Reimplemented from DataStorage.
$typesMap [static] |
array( 'NumericId' => 'int(11) auto_increment', 'StringId' => 'varchar(240)', 'Integer' => 'int(11)', 'Float' => 'float', 'Date' => 'date', 'String' => 'varchar(240)', 'Text' => 'text', 'ElementContainer' => '_ForeignKey_', )
Reimplemented in SQLite.