| XOOPS
    2.6.0
    | 

| Public Member Functions | |
| __construct (Connection $db=null) | |
| buildContent ($position, $content="", $contentdb="") | |
| buildTitle ($originaltitle, $newtitle= '') | |
| countSimilarBlocks ($moduleId, $funcNum, $showFunc=null) | |
| deleteBlock (XoopsBlock &$obj) | |
| getAllBlocks ($rettype="object", $side=null, $visible=null, $orderby="side,weight,bid", $isactive=1) | |
| getAllBlocksByGroup ($groupid, $asobject=true, $side=null, $visible=null, $orderby="b.weight,b.bid", $isactive=1) | |
| getAllByGroupModule ($groupid, $module_id=0, $toponlyblock=false, $visible=null, $orderby= 'b.weight, m.block_id', $isactive=1) | |
| getBlockByPerm ($groupid) | |
| getByModule ($moduleid, $asobject=true) | |
| getDistinctObjects (CriteriaElement $criteria=null, $id_as_key=false) | |
| getNameList (CriteriaElement $criteria=null) | |
| getNonGroupedBlocks ($module_id=0, $toponlyblock=false, $visible=null, $orderby= 'b.weight, m.block_id', $isactive=1) | |
| insertBlock (XoopsBlock &$obj, $force=false) | |
|  Public Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
| __call ($name, $args) | |
| cleanOrphan ($table_link= '', $field_link= '', $field_object= '') | |
| create ($isNew=true) | |
| delete (XoopsObject $object, $force=false) | |
| deleteAll (CriteriaElement $criteria, $force=true, $asObject=false) | |
| deleteByLink (CriteriaElement $criteria=null) | |
| get ($id=null, $fields=null) | |
| getAll (CriteriaElement $criteria=null, $fields=null, $asObject=true, $id_as_key=true) | |
| getByLink (CriteriaElement $criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null) | |
| getCount (CriteriaElement $criteria=null) | |
| getCountByLink (CriteriaElement $criteria=null) | |
| getCounts (CriteriaElement $criteria=null) | |
| getCountsByLink (CriteriaElement $criteria=null) | |
| getIds (CriteriaElement $criteria=null) | |
| getList (CriteriaElement $criteria=null, $limit=0, $start=0) | |
| getObjects (CriteriaElement $criteria=null, $id_as_key=false, $as_object=true) | |
| insert (XoopsObject $object, $force=true) | |
| loadHandler ($name, $args=null) | |
| setHandler ($handler=null, $args=null, $path=null) | |
| synchronization ($table_link= '', $field_link= '', $field_object= '') | |
| updateAll ($fieldname, $fieldvalue, CriteriaElement $criteria, $force=false) | |
| updateByLink ($data, CriteriaElement $criteria=null) | |
|  Public Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| create () | |
| delete (XoopsObject $object, $force=true) | |
| get ($int_id) | |
| insert (XoopsObject $object, $force=true) | |
| Additional Inherited Members | |
|  Public Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
| $className | |
| $field_link | |
| $field_object | |
| $identifierName | |
| $keyName | |
| $keyName_link | |
| $table | |
| $table_link | |
|  Public Attributes inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| $db2 | |
|  Protected Member Functions inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
| __construct (Connection $db=null, $table= '', $className= '', $keyName= '', $identifierName= '') | |
|  Protected Member Functions inherited from Xoops\Core\Kernel\XoopsObjectHandler | |
| __construct (Connection $db=null) | |
|  Protected Attributes inherited from Xoops\Core\Kernel\XoopsPersistableObjectHandler | |
| $handler | |
| XoopsBlockHandler::__construct | ( | Connection | $db = null | ) | 
Constructor
| Connection | null | $db | Xoops\Core\Database\Connection | 
| XoopsBlockHandler::buildContent | ( | $position, | |
| $content = "", | |||
| $contentdb = "" | |||
| ) | 
Aligns the content of a block If position is 0, content in DB is positioned before the original content If position is 1, content in DB is positioned after the original content
| integer | $position | |
| string | $content | |
| string | $contentdb | 
Definition at line 902 of file block.php.
References $content.
| XoopsBlockHandler::buildTitle | ( | $originaltitle, | |
| $newtitle = '' | |||
| ) | 
| XoopsBlockHandler::countSimilarBlocks | ( | $moduleId, | |
| $funcNum, | |||
| $showFunc = null | |||
| ) | 
| XoopsBlockHandler::deleteBlock | ( | XoopsBlock & | $obj | ) | 
Delete a ID from the database
| XoopsBlock | $obj | 
Definition at line 444 of file block.php.
References Xoops\Core\Kernel\XoopsObject\getVar().

| XoopsBlockHandler::getAllBlocks | ( | $rettype = "object", | |
| $side = null, | |||
| $visible = null, | |||
| $orderby = "side,weight,bid", | |||
| $isactive = 1 | |||
| ) | 
| string | $rettype | |
| boolean | $side | |
| null | $visible | |
| string | $orderby | |
| int | $isactive | 
Definition at line 601 of file block.php.
References $result, $visible, XOOPS_CENTERBLOCK_ALL, and XOOPS_SIDEBLOCK_BOTH.
| XoopsBlockHandler::getAllBlocksByGroup | ( | $groupid, | |
| $asobject = true, | |||
| $side = null, | |||
| $visible = null, | |||
| $orderby = "b.weight,b.bid", | |||
| $isactive = 1 | |||
| ) | 
get all the blocks that match the supplied parameters
| int | $side | 0: sideblock - left 1: sideblock - right 2: sideblock - left and right 3: centerblock - left 4: centerblock - right 5: centerblock - center 6: centerblock - left, right, center | 
| bool | $asobject | |
| int | array | $groupid | groupid (can be an array) | 
| int | null | $visible | 0: not visible 1: visible | 
| string | $orderby | order of the blocks | 
| int | $isactive | 
Definition at line 537 of file block.php.
References $result, $visible, XOOPS_CENTERBLOCK_ALL, and XOOPS_SIDEBLOCK_BOTH.
| XoopsBlockHandler::getAllByGroupModule | ( | $groupid, | |
| $module_id = 0, | |||
| $toponlyblock = false, | |||
| $visible = null, | |||
| $orderby = 'b.weight, | |||
| m.block_id' | , | ||
| $isactive = 1 | |||
| ) | 
XoopsBlock::getAllByGroupModule()
| mixed | $groupid | |
| integer | $module_id | |
| boolean | $toponlyblock | |
| mixed | $visible | |
| string | $orderby | |
| integer | $isactive | 
Definition at line 694 of file block.php.
References $module_id, $result, and $visible.
| XoopsBlockHandler::getBlockByPerm | ( | $groupid | ) | 
| XoopsBlockHandler::getByModule | ( | $moduleid, | |
| $asobject = true | |||
| ) | 
| int | $moduleid | |
| bool | $asobject | 
Definition at line 658 of file block.php.
References $result.
Referenced by xoops_module_install_system().

| XoopsBlockHandler::getDistinctObjects | ( | CriteriaElement | $criteria = null, | 
| $id_as_key = false | |||
| ) | 
retrieve array of XoopsBlocks meeting certain conditions
| CriteriaElement | null | $criteria | CriteriaElement with conditions for the blocks | 
| bool | $id_as_key | should the blocks' bid be the key for the returned array? | 
| XoopsBlockHandler::getNameList | ( | CriteriaElement | $criteria = null | ) | 
| XoopsBlockHandler::getNonGroupedBlocks | ( | $module_id = 0, | |
| $toponlyblock = false, | |||
| $visible = null, | |||
| $orderby = 'b.weight, | |||
| m.block_id' | , | ||
| $isactive = 1 | |||
| ) | 
| XoopsBlockHandler::insertBlock | ( | XoopsBlock & | $obj, | 
| $force = false | |||
| ) | 
| XoopsBlock | $obj | |
| bool | $force | 
Definition at line 432 of file block.php.
References Xoops\Core\Kernel\XoopsObject\setVar().
