Detailed Description
NullMapper acts as there is no mapper.
Definition at line 27 of file NullMapper.php.
Public Member Functions | |
getType () | |
getTypeDisplayName (Message $message) | |
getTypeDescription (Message $message) | |
getPkNames () | |
getRelations ($hierarchyType='all') | |
hasRelation ($roleName) | |
getRelation ($roleName) | |
getRelationsByType ($type) | |
getAttributes (array $tags=[], $matchMode='all') | |
hasAttribute ($name) | |
getAttribute ($name) | |
getReferences () | |
getAttributeDisplayName ($name, Message $message) | |
getAttributeDescription ($name, Message $message) | |
getProperties () | |
isSortable ($roleName=null) | |
getSortkey ($roleName=null) | |
getDefaultOrder ($roleName=null) | |
load (ObjectId $oid, $buildDepth=BuildDepth::SINGLE) | |
create ($type, $buildDepth=BuildDepth::SINGLE) | |
save (PersistentObject $object) | |
delete (PersistentObject $object) | |
getOIDs ($type, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null) | |
loadObjects ($type, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null) | |
loadRelation (array $objects, $role, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null) | |
executeOperation (PersistenceOperation $operation) | |
beginTransaction () | |
commitTransaction () | |
rollbackTransaction () | |
getStatements () | |
Member Function Documentation
◆ getType()
getType | ( | ) |
- See also
- PersistenceMapper::getType()
Implements PersistenceMapper.
Definition at line 32 of file NullMapper.php.
◆ getTypeDisplayName()
getTypeDisplayName | ( | Message | $message | ) |
Implements PersistenceMapper.
Definition at line 39 of file NullMapper.php.
◆ getTypeDescription()
getTypeDescription | ( | Message | $message | ) |
Implements PersistenceMapper.
Definition at line 46 of file NullMapper.php.
◆ getPkNames()
getPkNames | ( | ) |
- See also
- PersistenceMapper::getPkNames()
Implements PersistenceMapper.
Definition at line 53 of file NullMapper.php.
◆ getRelations()
getRelations | ( | $hierarchyType = 'all' | ) |
Implements PersistenceMapper.
Definition at line 60 of file NullMapper.php.
◆ hasRelation()
hasRelation | ( | $roleName | ) |
- See also
- PersistenceMapper::hasRelation()
Implements PersistenceMapper.
Definition at line 67 of file NullMapper.php.
◆ getRelation()
getRelation | ( | $roleName | ) |
- See also
- PersistenceMapper::getRelation()
Implements PersistenceMapper.
Definition at line 74 of file NullMapper.php.
◆ getRelationsByType()
getRelationsByType | ( | $type | ) |
Implements PersistenceMapper.
Definition at line 81 of file NullMapper.php.
◆ getAttributes()
getAttributes | ( | array | $tags = [] , |
$matchMode = 'all' |
|||
) |
Implements PersistenceMapper.
Definition at line 88 of file NullMapper.php.
◆ hasAttribute()
hasAttribute | ( | $name | ) |
Implements PersistenceMapper.
Definition at line 95 of file NullMapper.php.
◆ getAttribute()
getAttribute | ( | $name | ) |
Implements PersistenceMapper.
Definition at line 102 of file NullMapper.php.
◆ getReferences()
getReferences | ( | ) |
Implements PersistenceMapper.
Definition at line 109 of file NullMapper.php.
◆ getAttributeDisplayName()
getAttributeDisplayName | ( | $name, | |
Message | $message | ||
) |
Implements PersistenceMapper.
Definition at line 116 of file NullMapper.php.
◆ getAttributeDescription()
getAttributeDescription | ( | $name, | |
Message | $message | ||
) |
Implements PersistenceMapper.
Definition at line 123 of file NullMapper.php.
◆ getProperties()
getProperties | ( | ) |
Implements PersistenceMapper.
Definition at line 130 of file NullMapper.php.
◆ isSortable()
isSortable | ( | $roleName = null | ) |
- See also
- PersistenceMapper::isSortable()
Implements PersistenceMapper.
Definition at line 137 of file NullMapper.php.
◆ getSortkey()
getSortkey | ( | $roleName = null | ) |
- See also
- PersistenceMapper::getSortkey()
Implements PersistenceMapper.
Definition at line 144 of file NullMapper.php.
◆ getDefaultOrder()
getDefaultOrder | ( | $roleName = null | ) |
Implements PersistenceMapper.
Definition at line 151 of file NullMapper.php.
◆ load()
load | ( | ObjectId | $oid, |
$buildDepth = BuildDepth::SINGLE |
|||
) |
- See also
- PersistenceMapper::load()
Implements PersistenceMapper.
Definition at line 158 of file NullMapper.php.
◆ create()
create | ( | $type, | |
$buildDepth = BuildDepth::SINGLE |
|||
) |
- See also
- PersistenceMapper::create()
Implements PersistenceMapper.
Definition at line 165 of file NullMapper.php.
◆ save()
save | ( | PersistentObject | $object | ) |
- See also
- PersistenceMapper::save()
Implements PersistenceMapper.
Definition at line 172 of file NullMapper.php.
◆ delete()
delete | ( | PersistentObject | $object | ) |
- See also
- PersistenceMapper::delete()
Implements PersistenceMapper.
Definition at line 177 of file NullMapper.php.
◆ getOIDs()
getOIDs | ( | $type, | |
$criteria = null , |
|||
$orderby = null , |
|||
PagingInfo | $pagingInfo = null |
||
) |
- See also
- PersistenceFacade::getOIDs()
Implements PersistenceMapper.
Definition at line 182 of file NullMapper.php.
◆ loadObjects()
loadObjects | ( | $type, | |
$buildDepth = BuildDepth::SINGLE , |
|||
$criteria = null , |
|||
$orderby = null , |
|||
PagingInfo | $pagingInfo = null |
||
) |
- See also
- PersistenceFacade::loadObjects()
Implements PersistenceMapper.
Definition at line 189 of file NullMapper.php.
◆ loadRelation()
loadRelation | ( | array | $objects, |
$role, | |||
$buildDepth = BuildDepth::SINGLE , |
|||
$criteria = null , |
|||
$orderby = null , |
|||
PagingInfo | $pagingInfo = null |
||
) |
Implements PersistenceMapper.
Definition at line 197 of file NullMapper.php.
◆ executeOperation()
executeOperation | ( | PersistenceOperation | $operation | ) |
Implements PersistenceMapper.
Definition at line 205 of file NullMapper.php.
◆ beginTransaction()
beginTransaction | ( | ) |
Implements PersistenceMapper.
Definition at line 212 of file NullMapper.php.
◆ commitTransaction()
commitTransaction | ( | ) |
Implements PersistenceMapper.
Definition at line 217 of file NullMapper.php.
◆ rollbackTransaction()
rollbackTransaction | ( | ) |
Implements PersistenceMapper.
Definition at line 222 of file NullMapper.php.
◆ getStatements()
getStatements | ( | ) |
Implements PersistenceMapper.
Definition at line 227 of file NullMapper.php.