Ubiquity\controllers\crud$CRUDHelper This class is part of Ubiquity.
More...
|
| static | getIdentifierFunction ($model) |
| |
| static | search ($model, $search, $fields, $initialCondition='1=1') |
| |
| static | update ($instance, $values, $setValues=true, $updateMany=true, $eventCallback=null) |
| |
| static | getFkIntance ($instance, $model, $member, $included=false) |
| |
| static | getFKIntances ($instance, $model, $included=false) |
| |
|
| static | setInputValues (string $className, $instance, &$values, $setValues) |
| |
| static | updateOneToMany ($oneToManyRelations, $members, $className, $instance, $values) |
| |
| static | updateManyToOne ($manyToOneRelations, $members, $className, $instance, $values) |
| |
| static | updateManyToMany ($manyToManyRelations, $members, $className, $instance, $values) |
| |
Ubiquity\controllers\crud$CRUDHelper This class is part of Ubiquity.
- Author
- jc
- Version
- 1.0.4
Definition at line 21 of file CRUDHelper.php.
◆ getFkIntance()
| static getFkIntance |
( |
|
$instance, |
|
|
|
$model, |
|
|
|
$member, |
|
|
|
$included = false |
|
) |
| |
|
static |
◆ getFKIntances()
| static getFKIntances |
( |
|
$instance, |
|
|
|
$model, |
|
|
|
$included = false |
|
) |
| |
|
static |
◆ getIdentifierFunction()
| static getIdentifierFunction |
( |
|
$model | ) |
|
|
static |
◆ getInputValues()
| static getInputValues |
( |
|
$values, |
|
|
|
$index |
|
) |
| |
|
staticprivate |
◆ getMultiWhere()
| static getMultiWhere |
( |
|
$ids, |
|
|
|
$class |
|
) |
| |
|
staticprivate |
◆ getOneToManyKeys()
| static getOneToManyKeys |
( |
|
$keys, |
|
|
|
$values, |
|
|
|
$index, |
|
|
|
$defaultId |
|
) |
| |
|
staticprivate |
◆ search()
| static search |
( |
|
$model, |
|
|
|
$search, |
|
|
|
$fields, |
|
|
|
$initialCondition = '1=1' |
|
) |
| |
|
static |
◆ setInputValues()
| static setInputValues |
( |
string |
$className, |
|
|
|
$instance, |
|
|
& |
$values, |
|
|
|
$setValues |
|
) |
| |
|
staticprotected |
◆ update()
| static update |
( |
|
$instance, |
|
|
|
$values, |
|
|
|
$setValues = true, |
|
|
|
$updateMany = true, |
|
|
|
$eventCallback = null |
|
) |
| |
|
static |
◆ updateManyToMany()
| static updateManyToMany |
( |
|
$manyToManyRelations, |
|
|
|
$members, |
|
|
|
$className, |
|
|
|
$instance, |
|
|
|
$values |
|
) |
| |
|
staticprotected |
◆ updateManyToOne()
| static updateManyToOne |
( |
|
$manyToOneRelations, |
|
|
|
$members, |
|
|
|
$className, |
|
|
|
$instance, |
|
|
|
$values |
|
) |
| |
|
staticprotected |
◆ updateOneToMany()
| static updateOneToMany |
( |
|
$oneToManyRelations, |
|
|
|
$members, |
|
|
|
$className, |
|
|
|
$instance, |
|
|
|
$values |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/controllers/crud/CRUDHelper.php