Class XoopsPersistableObjectHandler
XOOPS Kernel Persistable Object Handler class.
- Xoops\Core\Kernel\XoopsObjectHandler
- Xoops\Core\Kernel\XoopsPersistableObjectHandler
Direct known subclasses
AvatarsAvatarHandler, AvatarsUserlinkHandler, NotificationsNotificationHandler, PagePage_contentHandler, PagePage_ratingHandler, PagePage_related_linkHandler, PagePage_relatedHandler, PmMessageHandler, ProfileCategoryHandler, ProfileFieldHandler, ProfileProfileHandler, ProfileRegstepHandler, BannersBannerclientHandler, ProfileVisibilityHandler, PublisherCategoryHandler, PublisherFileHandler, PublisherItemHandler, PublisherMimetypeHandler, PublisherRatingHandler, SmiliesSmileyHandler, UserconfigsItemHandler, UserconfigsOptionHandler, UserrankRankHandler, BannersBannerHandler, XlanguageXlanguageHandler, Xoops\Core\Kernel\Handlers\XoopsBlockHandler, Xoops\Core\Kernel\Handlers\XoopsBlockModuleLinkHandler, Xoops\Core\Kernel\Handlers\XoopsConfigItemHandler, Xoops\Core\Kernel\Handlers\XoopsConfigOptionHandler, Xoops\Core\Kernel\Handlers\XoopsGroupHandler, Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler, Xoops\Core\Kernel\Handlers\XoopsMembershipHandler, Xoops\Core\Kernel\Handlers\XoopsModuleHandler, Xoops\Core\Kernel\Handlers\XoopsOnlineHandler, CommentsCommentHandler, Xoops\Core\Kernel\Handlers\XoopsPrivateMessageHandler, Xoops\Core\Kernel\Handlers\XoopsTplFileHandler, Xoops\Core\Kernel\Handlers\XoopsTplSetHandler, Xoops\Core\Kernel\Handlers\XoopsUserHandler, XoopsPersistableObjectHandler, ImagesCategoryHandler, ImagesImagebodyHandler, ImagesImageHandler, MenusMenuHandler, MenusMenusHandlerIndirect known subclasses
ArtObjectHandler, PageGroupPermHandler, XoopsModuleHandler, XoopsOnlineHandler, XoopsPrivmessageHandler, XoopsTplfileHandler, XoopsTplsetHandler, XoopsUserHandler, PublisherGroupPermHandler, XoopsBlockHandler, XoopsBlockmodulelinkHandler, XoopsConfigItemHandler, XoopsConfigOptionHandler, XoopsGroupHandler, XoopsGroupPermHandler, XoopsMembershipHandlerNamespace: Xoops\Core\Kernel
Package: Xoops\Core\Kernel
Category: Xoops\Core\Kernel\XoopsPersistableObjectHandler
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Author: Jan Keller Pedersen mithrandir@xoops.org
Since: 2.0.0
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Kernel/XoopsPersistableObjectHandler.php
protected
|
#
__construct(
Constructor |
public
object|null
|
|
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
mixed
|
#
insert(
insert an object into the database |
public
boolean
|
#
delete(
delete an object from the database |
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
|
#
getIds(
get IDs of objects matching a condition |
public
integer
|
|
public
array
|
#
getCounts(
Get counts of objects matching a condition |
public
array
|
#
getByLink(
get a list of objects matching a condition joint with another related object |
public
integer
|
#
getCountByLink(
Count of objects matching a condition |
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
|
#
synchronization( string $table_link = '', string $field_link = '', string $field_object = '' )
Synchronizing objects |
protected
|
$handler
static protected |
|
public
string
|
$table
Information about the class, the handler is managing |
|
public
string
|
$keyName
|
|
public
string
|
$className
|
|
public
string
|
$table_link
|
|
public
string
|
$identifierName
|
|
public
string
|
$field_link
|
|
public
string
|
$field_object
|
|
public
string
|
$keyName_link
|
$db2
|