XOOPS
2.6.0
|
Public Member Functions | |
create () | |
delete (XoopsObject $object, $force=true) | |
get ($int_id) | |
insert (XoopsObject $object, $force=true) | |
Public Attributes | |
$db2 | |
Protected Member Functions | |
__construct (Connection $db=null) | |
Definition at line 29 of file XoopsObjectHandler.php.
|
protected |
called from child classes only
Connection | $db | reference to the Xoops\Core\Database\Connectionobject |
Definition at line 44 of file XoopsObjectHandler.php.
References Xoops\getInstance().
Xoops\Core\Kernel\XoopsObjectHandler::create | ( | ) |
creates a new object
Definition at line 57 of file XoopsObjectHandler.php.
Referenced by XoopsGroupPermHandler\addRight(), Xoops\Core\Kernel\XoopsPersistableObjectHandler\get(), and NotificationsNotificationHandler\subscribe().
Xoops\Core\Kernel\XoopsObjectHandler::delete | ( | XoopsObject | $object, |
$force = true |
|||
) |
delete object from database
XoopsObject | $object | object to delete |
bool | $force | use force |
Definition at line 92 of file XoopsObjectHandler.php.
Xoops\Core\Kernel\XoopsObjectHandler::get | ( | $int_id | ) |
gets a value object
int | $int_id | id |
Definition at line 68 of file XoopsObjectHandler.php.
Xoops\Core\Kernel\XoopsObjectHandler::insert | ( | XoopsObject | $object, |
$force = true |
|||
) |
insert/update object
XoopsObject | $object | object to insert |
bool | $force | use force |
Definition at line 80 of file XoopsObjectHandler.php.
Xoops\Core\Kernel\XoopsObjectHandler::$db2 |
Definition at line 37 of file XoopsObjectHandler.php.
Referenced by XoopsPersistableObjectHandler\__construct().