Class XoopsPersistableObjectHandler
Persistable Object Handler class.
- XoopsObjectHandler
- XoopsPersistableObjectHandler
Direct known subclasses
ArtObjectHandler, PmMessageHandler, SystemBlockHandler, SystemBlockLinkModuleHandler, SystemGroupHandler, SystemsmiliesHandler, SystemuserrankHandler, XoopsCacheModelHandler, XoopsUserHandler, ProfileCategoryHandler, ProfileFieldHandler, ProfileProfileHandler, ProfileRegstepHandler, ProfileVisibilityHandler, SystemBannerclientHandler, SystemBannerfinishHandler, SystemBannerHandlerIndirect known subclasses
SystemUsersHandler
Package: kernel
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Author: Jan Keller Pedersen mithrandir@xoops.org
Located at ernel/object.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Author: Jan Keller Pedersen mithrandir@xoops.org
Located at ernel/object.php
public
|
#
__construct(
Constructor |
public
|
#
XoopsPersistableObjectHandler(
PHP 4 style constructor compatibility shim |
public
object
|
#
setHandler( null|string $handler = null, null $args = null, string $path = null )
Set custom handler |
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
#
deleteAll(
delete all objects matching the conditions |
public
boolean
|
#
updateAll( string $fieldname, mixed $fieldvalue,
Change a field for objects with a certain criteria |
public
array
&
|
#
getObjects(
Retrieve objects from the database |
public
array
&
|
#
getAll(
get all objects matching a condition |
public
array
|
#
getList(
Retrieve a list of objects data |
public
array
&
|
|
public
array
&
|
#
getByLimit( integer $limit = 0, integer $start = 0,
get a limited list of objects matching a condition |
public
integer
|
|
public
array
|
|
public
array
&
|
#
getByLink(
get a list of objects matching a condition joint with another related object |
public
integer
|
|
public
integer
|
#
getCountsByLink(
array of count of objects matching a condition of, groupby linked object keyname |
public
integer
|
#
updateByLink( array $data,
update objects matching a condition against linked objects |
public
integer
|
#
deleteByLink(
Delete objects matching a condition against linked objects |
public
boolean
|
#
cleanOrphan( string $table_link = '', string $field_link = '', string $field_object = '' )
Clean orphan objects against linked objects |
public
boolean
|
|
public
boolean
|
XoopsObjectHandler()
|
public
|
$handler
static protected |
|
public
array
|
$handlers
static protected |
#
array('read' => null, 'stats' => null, 'joint' => null, 'write' => null, 'sync' => null)
|
public
string
|
$table
Information about the class, the handler is managing |
|
public
string
|
$keyName
|
|
public
string
|
$className
|
|
public
string
|
$identifierName
|
|
public
string
|
$field_link
|
|
public
string
|
$field_object
|
$db
|