Public Member Functions

Monolith Class Reference

Inheritance diagram for Monolith:
Collaboration diagram for Monolith:

List of all members.

Public Member Functions

 action_admin_header ($theme)
 get_blocks ($area, $scope, $theme)
 action_block_content ($block, $theme)

Detailed Description

Definition at line 5 of file theme.php.

Member Function Documentation

Monolith::action_admin_header ( theme  ) 

Load the stack with the scripts and css we need

Theme $theme The current theme

Definition at line 11 of file theme.php.

Monolith::action_block_content ( block,

When adding dashboard modules, the titles should remain as they're written in their providing plugin This function adds a value for the title of the block that is the same as the name of the type of block. The value is in _title because overwriting the main title value causes the block data to reload.

Block $block The block that has data stored for the title
Theme $theme The theme displaying this block

Definition at line 61 of file theme.php.

Monolith::get_blocks ( area,

Get the blocks for this theme in teh specified area, overrides the default handling to implement dashboard modules

string $area The area to return blocks for
string $scope The scope in which the blocks exist
Theme $theme The theme for which the blocks will be returned
array An array of Blocks

Reimplemented from Theme.

Definition at line 46 of file theme.php.

The documentation for this class was generated from the following file: