SGL_BlockLoaderBlockLoader manages units of content that can be dynamically positioned in a page's left or right columns.
Located in /SGL/BlockLoader.php (line 50)
array
$aBlocks
= array() (line 69)
Array of processed blocks
Left/right blocks stored as $this->aBlocks['left'], $this->aBlocks['right'].
array
$_aData
= array() (line 58)
Temporary container for processing blocks.
int
$_currentSectionId
= 0 (line 86)
SectionId is currently roughtly equivalent to page id.
int
$_rid
= 0 (line 77)
The role id, used so blocks can be cached per role.
Constructor SGL_BlockLoader (line 94)
Constructor - sets the sectionId.
render (line 110)
Initialises Block Mgr, loads blocks into temporary array $_aData for later processing.
_buildBlocks (line 186)
With block structures in place, block contents are built.
Each block is a class in the modules/block/classes/blocks directory, containing static HTML or dynamic content
_loadBlocks (line 144)
Loads blocks from DB.
_sort (line 236)
Sorts tmp array $_aData into order within block positions.
easier to manage in Controller
Documentation generated on Tue, 23 Feb 2010 18:14:28 +0000 by phpDocumentor 1.4.3