XOOPS
2.6.0
|
Public Attributes | |
$db | |
Public Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
$className | |
$field_link | |
$field_object | |
$identifierName | |
$keyName | |
$keyName_link | |
$table | |
$table_link | |
Public Attributes inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
$db2 | |
Protected Member Functions | |
__construct (Connection $db=null, $table= '', $className= '', $keyName= '', $identifierName= '') | |
Protected Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
__construct (Connection $db=null, $table= '', $className= '', $keyName= '', $identifierName= '') | |
Protected Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
__construct (Connection $db=null) | |
Additional Inherited Members | |
Public Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
__call ($name, $args) | |
cleanOrphan ($table_link= '', $field_link= '', $field_object= '') | |
create ($isNew=true) | |
delete (XoopsObject $object, $force=false) | |
deleteAll (CriteriaElement $criteria, $force=true, $asObject=false) | |
deleteByLink (CriteriaElement $criteria=null) | |
get ($id=null, $fields=null) | |
getAll (CriteriaElement $criteria=null, $fields=null, $asObject=true, $id_as_key=true) | |
getByLink (CriteriaElement $criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null) | |
getCount (CriteriaElement $criteria=null) | |
getCountByLink (CriteriaElement $criteria=null) | |
getCounts (CriteriaElement $criteria=null) | |
getCountsByLink (CriteriaElement $criteria=null) | |
getIds (CriteriaElement $criteria=null) | |
getList (CriteriaElement $criteria=null, $limit=0, $start=0) | |
getObjects (CriteriaElement $criteria=null, $id_as_key=false, $as_object=true) | |
insert (XoopsObject $object, $force=true) | |
loadHandler ($name, $args=null) | |
setHandler ($handler=null, $args=null, $path=null) | |
synchronization ($table_link= '', $field_link= '', $field_object= '') | |
updateAll ($fieldname, $fieldvalue, CriteriaElement $criteria, $force=false) | |
updateByLink ($data, CriteriaElement $criteria=null) | |
Public Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
create () | |
delete (XoopsObject $object, $force=true) | |
get ($int_id) | |
insert (XoopsObject $object, $force=true) | |
Protected Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
$handler | |
This class is for compatibility with pre 2.6.0 code
Definition at line 45 of file object.php.
|
protected |
this is a legacy compatibility shim to make the legacy database available
Connection | $db | reference to the Connection object |
Definition at line 57 of file object.php.
References Xoops\Core\Kernel\XoopsPersistableObjectHandler\$className, $db, Xoops\Core\Kernel\XoopsObjectHandler\$db2, Xoops\Core\Kernel\XoopsPersistableObjectHandler\$identifierName, Xoops\Core\Kernel\XoopsPersistableObjectHandler\$keyName, Xoops\Core\Kernel\XoopsPersistableObjectHandler\$table, and XoopsDatabaseFactory\getDatabaseConnection().
XoopsPersistableObjectHandler::$db |
This is a reference to the legacy database connection
Definition at line 50 of file object.php.
Referenced by AvatarsUserlinkHandler\__construct(), MenusMenusHandler\__construct(), ImagesImagebodyHandler\__construct(), MenusMenuHandler\__construct(), __construct(), and CommentsCommentHandler\__construct().