Public Member Functions

CoreDashModules Class Reference

Inheritance diagram for CoreDashModules:
Collaboration diagram for CoreDashModules:

List of all members.

Public Member Functions

 action_init ()
 filter_block_list ($block_list)
 filter_dashboard_block_list ($block_list)
 action_block_content_latest_entries ($block, $theme)
 action_block_content_latest_log_activity ($block, $theme)
 action_block_form_latest_log_activity ($form, $block)
 action_block_content_latest_comments ($block, $theme)
 action_block_content_post_types_statuses ($block, $theme)
 filter_dash_module_post_types_and_statuses ($module, $module_id, $theme)
 action_admin_header ($theme)

Detailed Description

CoreDashModules - Provides a core set of dashboard modules for the dashboard.

Definition at line 8 of file coredashmodules.plugin.php.


Member Function Documentation

CoreDashModules::action_admin_header ( theme  ) 

Adds the stylesheet to the admin header only on the dashboard.

Parameters:
Theme $theme The current theme being used.

Definition at line 279 of file coredashmodules.plugin.php.

CoreDashModules::action_block_content_latest_comments ( block,
theme 
)

Produce the content for the Latest Comments block

Parameters:
Block $block The block object
Theme $theme The theme that the block will be output with

Definition at line 103 of file coredashmodules.plugin.php.

CoreDashModules::action_block_content_latest_entries ( block,
theme 
)

Produce the content for the latest entries block

Parameters:
Block $block The block object
Theme $theme The theme that the block will be output with

Definition at line 60 of file coredashmodules.plugin.php.

CoreDashModules::action_block_content_latest_log_activity ( block,
theme 
)

Produce the content for the latest log activity block

Parameters:
Block $block The block object
Theme $theme The theme that the block will be output with

Definition at line 71 of file coredashmodules.plugin.php.

CoreDashModules::action_block_form_latest_log_activity ( form,
block 
)

Produce a form for the editing of the log activity block

Parameters:
FormUI $form The form to allow editing of this block
Block $block The block object to edit

Definition at line 90 of file coredashmodules.plugin.php.

CoreDashModules::action_init (  ) 

Add some templates to the theme for the blocks

Definition at line 15 of file coredashmodules.plugin.php.

CoreDashModules::filter_block_list ( block_list  ) 

Add the blocks this plugin provides to the list of available blocks

Parameters:
array $block_list An array of block names, indexed by unique string identifiers
Returns:
array The altered array

Definition at line 28 of file coredashmodules.plugin.php.

CoreDashModules::filter_dash_module_post_types_and_statuses ( module,
module_id,
theme 
)

filter_dash_module_post_types Function used to set theme variables to the post types dashboard widget

Parameters:
string $module_id
Returns:
string The contents of the module

Definition at line 208 of file coredashmodules.plugin.php.

CoreDashModules::filter_dashboard_block_list ( block_list  ) 

Return a list of blocks that can be used for the dashboard

Parameters:
array $block_list An array of block names, indexed by unique string identifiers
Returns:
array The altered array

Definition at line 46 of file coredashmodules.plugin.php.


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