|
| | create ($isNew=true) |
| |
| | get ($id) |
| |
| | insert (XoopsObject $block) |
| |
| | delete (XoopsObject $block) |
| |
| | getObjects (CriteriaElement $criteria=null, $id_as_key=false) |
| |
| | getList (CriteriaElement $criteria=null) |
| |
| | getByModule ($moduleid, $asobject=true, $id_as_key=false) |
| |
| | getAllByGroupModule ($groupid, $module_id=0, $toponlyblock=false, $visible=null, $orderby='i.weight, i.instanceid', $isactive=1) |
| |
| | getAdminBlocks ($groupid, $orderby='i.weight, i.instanceid') |
| |
| | assignBlocks () |
| |
Public Member Functions inherited from XoopsObjectHandler |
| | __construct (XoopsDatabase $db) |
| |
| | XoopsObjectHandler ($db) |
| |
| | create () |
| |
| | get ($id) |
| |
| | insert (XoopsObject $object) |
| |
| | delete (XoopsObject $object) |
| |
◆ assignBlocks()
◆ create()
◆ delete()
delete a block from the database
- Parameters
-
- Returns
- bool true on success, otherwise false
Reimplemented from XoopsObjectHandler.
◆ get()
◆ getAdminBlocks()
| getAdminBlocks |
( |
|
$groupid, |
|
|
|
$orderby = 'i.weight, |
|
|
i.instanceid' |
|
|
) |
| |
◆ getAllByGroupModule()
| getAllByGroupModule |
( |
|
$groupid, |
|
|
|
$module_id = 0, |
|
|
|
$toponlyblock = false, |
|
|
|
$visible = null, |
|
|
|
$orderby = 'i.weight, |
|
|
i.instanceid' |
, |
|
|
|
$isactive = 1 |
|
) |
| |
- Parameters
-
| $groupid | |
| int | $module_id | |
| bool | $toponlyblock | |
| null | $visible | |
| string | $orderby | |
| int | $isactive | |
- Returns
- bool
- Deprecated:
◆ getByModule()
| getByModule |
( |
|
$moduleid, |
|
|
|
$asobject = true, |
|
|
|
$id_as_key = false |
|
) |
| |
- Deprecated:
- Parameters
-
| $moduleid | |
| bool | $asobject | |
| bool | $id_as_key | |
- Returns
- bool
◆ getList()
get a list of blocks matchich certain conditions
- Parameters
-
- Returns
- array array of blocks matching the conditions
◆ getObjects()
retrieve array of XoopsBlocks meeting certain conditions
- Parameters
-
- Returns
- array
XoopsBlocks matching the conditions
◆ insert()
write a new block into the database
- Parameters
-
- Returns
- bool true on success, otherwise false
Reimplemented from XoopsObjectHandler.
The documentation for this class was generated from the following file: