Class XoopsBlockHandler
XOOPS block handler class. (Singelton)
This class is responsible for providing data access mechanisms to the data source of XOOPS block class objects.
- XoopsObjectHandler
- XoopsBlockHandler
Package: kernel\block
Copyright: copyright (c) 2000 XOOPS.org
Author: Kazumi Ono <onokazu@xoops.org>
Located at html/kernel/block.php
Copyright: copyright (c) 2000 XOOPS.org
Author: Kazumi Ono <onokazu@xoops.org>
Located at html/kernel/block.php
public
object
&
|
|
public
object
&
|
#
createByInfo( $info $info )
Create a new block by array that is defined in xoops_version. You must be careful that the value that it is returned doesn't have $mid, $func_num and $dirname. |
public
object
&
|
|
public
boolean
|
|
public
boolean
|
|
public
array
&
|
#
getObjects( object $criteria = null, boolean $id_as_key = false )
retrieve array of |
public
&
|
|
public
array
&
|
|
public
&
|
#
getAllBlocksByGroup( $side $groupid, $groupid $asobject = true, $visible $side = null, $orderby $visible = null, $orderby = 'b.weight,b.bid', $isactive = 1 )
get all the blocks that match the supplied parameters |
public
&
|
#
getAllBlocks( $rettype = 'object', $side = null, $visible = null, $orderby = 'side,weight,bid', $isactive = 1 )
|
public
&
|
|
public
&
|
#
getAllByGroupModule( $groupid, $module_id = 0, $toponlyblock = false, $visible = null, $orderby = 'b.weight,b.bid', $isactive = 1 )
Gets block objects by groups & modules. |
public
&
|
|
public
&
|
#
getNonGroupedBlocks( $module_id = 0, $toponlyblock = false, $visible = null, $orderby = 'b.weight,b.bid', $isactive = 1 )
|
public
|
|
public
|
#
syncIsActive( $moduleId, $isActive, $force = false )
Changes 'isactive' value of the module specified by $moduleId. |
XoopsObjectHandler()
|
$db
|