Class CoreDashModules

Description

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

  • version: $Id$
  • copyright: 2008

Located in /system/plugins/coredashmodules/coredashmodules.plugin.php (line 7)

Pluggable
   |
   --Plugin
      |
      --CoreDashModules
Method Summary
void action_plugin_activation (string $file)
void action_plugin_deactivation (string $file)
void filter_dash_modules ( $modules)
string filter_dash_module_latest_comments ( $module, string $module_id,  $theme)
string filter_dash_module_latest_entries ( $module, string $module_id,  $theme)
string filter_dash_module_latest_log_activity ( $module, string $module_id,  $theme)
array info ()
Variables

Inherited Variables

Inherited from Pluggable

Pluggable::$info
Pluggable::$plugin_id
Methods
action_plugin_activation (line 35)

action_plugin_activation Registers the core modules with the Modules class. Add these modules to the dashboard if the dashboard is currently empty.

void action_plugin_activation (string $file)
  • string $file: plugin file
action_plugin_deactivation (line 49)

action_plugin_deactivation Unregisters the core modules.

void action_plugin_deactivation (string $file)
  • string $file: plugin file
filter_dash_modules (line 62)

filter_dash_modules Registers the core modules with the Modules class.

void filter_dash_modules ( $modules)
  • $modules
filter_dash_module_latest_comments (line 128)

filter_dash_module_latest_comments

Function used to set theme variables to the latest comments dashboard widget

  • return: The contents of the module
  • access: public
string filter_dash_module_latest_comments ( $module, string $module_id,  $theme)
  • string $module_id
  • $module
  • $theme
filter_dash_module_latest_entries (line 113)

filter_dash_module_latest_entries

Gets the latest entries module

  • return: The contents of the module
  • access: public
string filter_dash_module_latest_entries ( $module, string $module_id,  $theme)
  • string $module_id
  • $module
  • $theme
filter_dash_module_latest_log_activity (line 80)

filter_dash_module_latest_log_activity Sets theme variables and handles logic for the dashboard's log history module.

  • return: The contents of the module
  • access: public
string filter_dash_module_latest_log_activity ( $module, string $module_id,  $theme)
  • string $module_id
  • $module
  • $theme
info (line 16)

function info

Returns information about this plugin

  • return: Plugin info array
array info ()

Redefinition of:
Plugin::info()
Returns information about this plugin

Inherited Methods

Inherited From Plugin

Plugin::__construct()
Plugin::add_template()
Plugin::info()
Plugin::_plugin_available_templates()
Plugin::_plugin_include_template_file()

Inherited From Pluggable

Pluggable::__construct()
Pluggable::get_db_schema()
Pluggable::get_file()
Pluggable::get_url()
Pluggable::load()
Pluggable::load_text_domain()
Pluggable::plugin_id()

Documentation generated on Thu, 30 Oct 2008 20:31:07 +0100 by phpDocumentor 1.3.2