wCMF
3.6
|
Public Member Functions | |
& | createObject ($oid=null) |
appendObject (&$object, &$dependendObject) | |
applyDataOnLoad (&$object, $objectData, $attribs) | |
applyDataOnCreate (&$object, $objectData, $attribs) | |
getObjectDefinition () | |
getChildrenSelectSQL ($oid, $compositionOnly=false) | |
Public Member Functions inherited from RDBMapper | |
RDBMapper ($params) | |
__sleep () | |
connect () | |
getNextId () | |
getSequenceTablename () | |
executeSql ($sql, $isSelect=false) | |
select ($sql, &$pagingInfo) | |
isPkValue ($name, $dataType) | |
constructOID ($type, $data) | |
getPKNamesForType ($type) | |
& | loadImpl ($oid, $buildDepth, $buildAttribs=null, $buildTypes=null) |
& | createImpl ($type, $buildDepth, $buildAttribs=null) |
saveImpl (&$object) | |
deleteImpl ($oid, $recursive=true) | |
& | getConnection () |
getOIDs ($type, $criteria=null, $orderby=null, &$pagingInfo) | |
loadObjects ($type, $buildDepth, $criteria=null, $orderby=null, &$pagingInfo, $buildAttribs=null, $buildTypes=null, $selectChildOIDs=true, $omitObjects=false) | |
& | createObjectFromData ($attribs, $data=null) |
appendChildData (&$object, $buildDepth, $buildAttribs=null, $buildTypes=null) | |
startTransaction () | |
commitTransaction () | |
rollbackTransaction () | |
& | createObject ($oid=null) |
appendObject (&$object, &$dependendObject) | |
applyDataOnLoad (&$object, $objectData, $attribs) | |
applyDataOnCreate (&$object, $objectData, $attribs) | |
prepareInsert (&$object) | |
getType () | |
getObjectDefinition () | |
getSelectSQL ($condStr, $orderStr=null, $attribs=null, $asArray=false) | |
getChildrenSelectSQL ($oid, $compositionOnly=false) | |
getChildrenDisassociateSQL ($oid, $sharedOnly=false) | |
getInsertSQL (&$object) | |
getUpdateSQL (&$object) | |
getDeleteSQL ($oid) | |
createPKCondition ($oid) | |
Public Member Functions inherited from PersistenceMapper | |
getType () | |
getPkNames () | |
setDataConverter ($dataConverter) | |
getDataConverter () | |
enableLogging ($logStrategy) | |
disableLogging () | |
isLogging () | |
logAction (&$obj) | |
& | load ($oid, $buildDepth, $buildAttribs=null, $buildTypes=null) |
& | create ($type, $buildDepth, $buildAttribs=null) |
save (&$object) | |
delete ($oid, $recursive=true) | |
checkAuthorization ($oid, $action) | |
authorizationFailedError ($oid, $action) | |
initialize (&$object) | |
isValidOID ($oid) | |
& | loadImpl ($oid, $buildDepth, $buildAttribs=null, $buildTypes=null) |
& | createImpl ($type, $buildDepth, $buildAttribs=null) |
saveImpl (&$object) | |
deleteImpl ($oid, $recursive=true) | |
getOIDs ($type, $criteria=null, $orderby=null, &$pagingInfo) | |
loadObjects ($type, $buildDepth, $criteria=null, $orderby=null, &$pagingInfo, $buildAttribs=null, $buildTypes=null) | |
getOrderBy () | |
startTransaction () | |
commitTransaction () | |
rollbackTransaction () | |
Additional Inherited Members | |
Public Attributes inherited from RDBMapper | |
$_connParams = null | |
$_conn = null | |
$_dbPrefix = '' | |
$_idSelectStmt = null | |
$_idInsertStmt = null | |
$_idUpdateStmt = null | |
Public Attributes inherited from PersistenceMapper | |
$_dataConverter = null | |
$_type = '' | |
$_logging = false | |
$_logStrategy = null | |
TableRDBMapper maps Table objects to a relational database schema where one object contains several table rows.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 32 of file class.TableRDBMapper.php.
& TableRDBMapper::createObject | ( | $oid = null | ) |
Definition at line 37 of file class.TableRDBMapper.php.
References RDBMapper\getType().
TableRDBMapper::appendObject | ( | & | $object, |
& | $dependendObject | ||
) |
Definition at line 44 of file class.TableRDBMapper.php.
TableRDBMapper::applyDataOnLoad | ( | & | $object, |
$objectData, | |||
$attribs | |||
) |
Definition at line 51 of file class.TableRDBMapper.php.
References PersistenceFacade\getInstance().
TableRDBMapper::applyDataOnCreate | ( | & | $object, |
$objectData, | |||
$attribs | |||
) |
Definition at line 80 of file class.TableRDBMapper.php.
TableRDBMapper::getObjectDefinition | ( | ) |
The _datadef key holds the following structure:
An array of assoziative arrays with the key 'name' plus application specific keys for every data item. All keys except 'name' will become keys in the objects valueProperties array hold for each data item while 'name' is used to identify the values types, see PersistentObject::getValue(). 'name' entries correspond to table columns. (e.g. array('name' => 'title', 'db_data_type' => 'VARCHAR(255)', 'default' => 'Hello World!'))
Known keys are:
Definition at line 117 of file class.TableRDBMapper.php.
References WCMFException\throwEx().
Referenced by TableUnifiedRDBMapper\getSelectSQL().
TableRDBMapper::getChildrenSelectSQL | ( | $oid, | |
$compositionOnly = false |
|||
) |
Definition at line 124 of file class.TableRDBMapper.php.