|
static | _affectsRelationObjects ($className, $classPropKey, $manyToOneQueries, $oneToManyQueries, $manyToManyParsers, $objects, $included, $useCache) |
|
static | _initRelationFields ($included, $metaDatas, &$invertedJoinColumns, &$oneToManyFields, &$manyToManyFields) |
|
static | _getIncludedForStep ($included) |
|
static | _getFieldList ($tableName, $metaDatas) |
|
static | _loadObjectFromRow (Database $db, $row, $className, $invertedJoinColumns, &$manyToOneQueries, $oneToManyFields, $manyToManyFields, &$oneToManyQueries, &$manyToManyParsers, $memberNames, $accessors, $transformers, $primaryKeys) |
|
static | _loadSimpleObjectFromRow (Database $db, $row, $className, $memberNames, $transformers) |
|
static | storeDbCache (string $model) |
|
static | getModels ($dbOffset='default') |
|
|
static | prepareManyToMany ($db, &$ret, $instance, $member, $annot=null) |
|
static | prepareManyToOne (&$ret, $instance, $value, $fkField, $annotationArray) |
|
static | prepareOneToMany (&$ret, $instance, $member, $annot=null) |
|
static | getDb ($model) |
|
static | getClass_ ($instance) |
|
static | getInstance_ ($instance) |
|
static | getValue_ ($instance, $member) |
|
static | getFirstKeyValue_ ($instance) |
|
static | _getOne (Database $db, $className, ConditionParser $conditionParser, $included, $useCache) |
|
static | _getAll (Database $db, $className, ConditionParser $conditionParser, $included=true, $useCache=null) |
|
static | applyTransformers ($transformers, &$row, $memberNames) |
|
static | loadManys ($o, $db, $oneToManyFields, &$oneToManyQueries, $manyToManyFields, &$manyToManyParsers) |
|
|
static | parseKey (&$keyValues, $className, $quote) |
|
Definition at line 27 of file DAOCoreTrait.php.
◆ _affectsRelationObjects()
static _affectsRelationObjects |
( |
|
$className, |
|
|
|
$classPropKey, |
|
|
|
$manyToOneQueries, |
|
|
|
$oneToManyQueries, |
|
|
|
$manyToManyParsers, |
|
|
|
$objects, |
|
|
|
$included, |
|
|
|
$useCache |
|
) |
| |
|
staticabstract |
◆ _getAll()
- Parameters
-
Database | $db | |
string | $className | |
ConditionParser | $conditionParser | |
boolean | array | $included | |
boolean | null | $useCache | |
- Returns
- array
Reimplemented in SDAO.
Definition at line 106 of file DAOCoreTrait.php.
◆ _getFieldList()
static _getFieldList |
( |
|
$tableName, |
|
|
|
$metaDatas |
|
) |
| |
|
static |
◆ _getIncludedForStep()
static _getIncludedForStep |
( |
|
$included | ) |
|
|
staticabstract |
◆ _getOne()
◆ _initRelationFields()
static _initRelationFields |
( |
|
$included, |
|
|
|
$metaDatas, |
|
|
& |
$invertedJoinColumns, |
|
|
& |
$oneToManyFields, |
|
|
& |
$manyToManyFields |
|
) |
| |
|
staticabstract |
◆ _loadObjectFromRow()
static _loadObjectFromRow |
( |
Database |
$db, |
|
|
|
$row, |
|
|
|
$className, |
|
|
|
$invertedJoinColumns, |
|
|
& |
$manyToOneQueries, |
|
|
|
$oneToManyFields, |
|
|
|
$manyToManyFields, |
|
|
& |
$oneToManyQueries, |
|
|
& |
$manyToManyParsers, |
|
|
|
$memberNames, |
|
|
|
$accessors, |
|
|
|
$transformers, |
|
|
|
$primaryKeys |
|
) |
| |
|
static |
- Parameters
-
Database | $db | |
array | $row | |
string | $className | |
array | $invertedJoinColumns | |
array | $manyToOneQueries | |
array | $oneToManyFields | |
array | $manyToManyFields | |
array | $oneToManyQueries | |
array | $manyToManyParsers | |
array | $memberNames | |
array | $accessors | |
array | $transformers | |
- Returns
- object
Definition at line 154 of file DAOCoreTrait.php.
◆ _loadSimpleObjectFromRow()
static _loadSimpleObjectFromRow |
( |
Database |
$db, |
|
|
|
$row, |
|
|
|
$className, |
|
|
|
$memberNames, |
|
|
|
$transformers |
|
) |
| |
|
static |
- Parameters
-
Database | $db | |
array | $row | |
string | $className | |
array | $memberNames | |
array | $transformers | |
- Returns
- object
Definition at line 186 of file DAOCoreTrait.php.
◆ applyTransformers()
static applyTransformers |
( |
|
$transformers, |
|
|
& |
$row, |
|
|
|
$memberNames |
|
) |
| |
|
staticprotected |
◆ getClass_()
static getClass_ |
( |
|
$instance | ) |
|
|
staticprotected |
◆ getDb()
◆ getFirstKeyValue_()
static getFirstKeyValue_ |
( |
|
$instance | ) |
|
|
staticprotected |
◆ getInstance_()
static getInstance_ |
( |
|
$instance | ) |
|
|
staticprotected |
◆ getModels()
static getModels |
( |
|
$dbOffset = 'default' | ) |
|
|
static |
◆ getValue_()
static getValue_ |
( |
|
$instance, |
|
|
|
$member |
|
) |
| |
|
staticprotected |
◆ loadManys()
static loadManys |
( |
|
$o, |
|
|
|
$db, |
|
|
|
$oneToManyFields, |
|
|
& |
$oneToManyQueries, |
|
|
|
$manyToManyFields, |
|
|
& |
$manyToManyParsers |
|
) |
| |
|
staticprotected |
◆ parseKey()
static parseKey |
( |
& |
$keyValues, |
|
|
|
$className, |
|
|
|
$quote |
|
) |
| |
|
staticprivate |
◆ prepareManyToMany()
static prepareManyToMany |
( |
|
$db, |
|
|
& |
$ret, |
|
|
|
$instance, |
|
|
|
$member, |
|
|
|
$annot = null |
|
) |
| |
|
staticabstractprotected |
◆ prepareManyToOne()
static prepareManyToOne |
( |
& |
$ret, |
|
|
|
$instance, |
|
|
|
$value, |
|
|
|
$fkField, |
|
|
|
$annotationArray |
|
) |
| |
|
staticabstractprotected |
◆ prepareOneToMany()
static prepareOneToMany |
( |
& |
$ret, |
|
|
|
$instance, |
|
|
|
$member, |
|
|
|
$annot = null |
|
) |
| |
|
staticabstractprotected |
◆ storeDbCache()
static storeDbCache |
( |
string |
$model | ) |
|
|
static |
◆ $accessors
◆ $fields
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/orm/traits/DAOCoreTrait.php