b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.10) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: Plugins_admin

Source Location: /blogs/inc/_misc/_plugins.class.php

Class Plugins_admin

Class Overview

A Plugins object that loads all Plugins, not just the enabled ones. This is needed for the backoffice plugin management.

Located in /blogs/inc/_misc/_plugins.class.php [line 3177]

Plugins
   |
   --Plugins_admin

Properties

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Plugins

Plugins::$plugin_errors

Inherited From Plugins

Plugins::Plugins()
Constructor. Sets $plugins_path and load events.
Plugins::are_events_available()
Check if the requested list of events is provided by any or one plugin.
Plugins::call_by_code()
Call a specific plugin by its code.
Plugins::call_method()
Call a method on a Plugin.
Plugins::call_method_if_active()
Call a method on a Plugin if it is not deactivated.
Plugins::count_regs()
Count # of registrations of same plugin.
Plugins::discover()
Discover and register all available plugins.
Plugins::filter_contents()
Filter (post) contents by calling the relevant filter plugins.
Plugins::forget_events()
Forget the events a Plugin has registered.
Plugins::get_apply_rendering_values()
Get the list of values for when a rendering Plugin can apply (apply_rendering).
Plugins::get_by_classname()
Get a plugin by its classname.
Plugins::get_by_code()
Get a specific Plugin by its code.
Plugins::get_by_ID()
Get a specific plugin by its ID.
Plugins::get_enabled_events()
Get a list of (enabled) events for a given Plugin ID.
Plugins::get_list_by_all_events()
Get a list of plugins that provide all given events.
Plugins::get_list_by_event()
Get a list of Plugins for a given event.
Plugins::get_list_by_events()
Get a list of Plugins for a list of events. Every Plugin is only once in this list.
Plugins::get_next()
Get next plugin in the list.
Plugins::get_object_from_cacheplugin_or_create()
Load an object from a Cache plugin or create a new one if we have a cache miss or no caching plugins.
Plugins::get_Plugins_in_group()
Will return an array that contents are references to plugins that have the same group, regardless of the sub_group.
Plugins::get_Plugins_in_sub_group()
Will return an array that contents are references to plugins that have the same group and sub_group.
Plugins::get_plugin_groups()
Get a list of available Plugin groups.
Plugins::get_registered_events()
Get a list of methods that are supported as events out of the Plugin's source file.
Plugins::get_supported_events()
Get the list of supported/available events/hooks.
Plugins::get_trigger_event()
Trigger an $event and return an index of $params.
Plugins::get_trigger_event_first_return()
Trigger an event and return the first return value of a plugin.
Plugins::get_trigger_event_first_true()
The same as get_trigger_event(), but stop when the first Plugin returns true.
Plugins::has_event()
Has a plugin a specific event registered/enabled?
Plugins::init_settings()
Init Plugin::Settings and Plugin::UserSettings, either by unsetting them for PHP5's overloading or instantiating them for PHP4.
Plugins::install()
Install a plugin into DB.
Plugins::instantiate()
Callback, which gets used for Results.
Plugins::instantiate_Settings()
Instantiate Settings member of class PluginSettings for the given plugin, if it provides default settings (through Plugin::GetDefaultSettings() and Plugin::GetDefaultUserSettings()).
Plugins::load_events()
(Re)load Plugin Events for enabled (normal use) or all (admin use) plugins.
Plugins::load_plugins_table()
Load Plugins data from T_plugins (only once), ordered by priority.
Plugins::quick()
Quick-render a string with a single plugin and format it for output.
Plugins::render()
Render the content of an item by calling the relevant renderer plugins.
Plugins::restart()
Load plugins table and rewind iterator used by get_next().
Plugins::save_events()
Save the events that the plugin provides into DB, while removing obsolete entries (that the plugin does not register anymore).
Plugins::set_apply_rendering()
Set the apply_rendering value for a given Plugin ID.
Plugins::set_code()
Set the code for a given Plugin ID.
Plugins::set_event_status()
Set the status of an event for a given Plugin.
Plugins::set_Plugin_status()
Sets the status of a Plugin in DB and registers it into the internal indices when "enabled".
Plugins::set_priority()
Set the priority for a given Plugin ID.
Plugins::sort()
Sort the list of $Plugins.
Plugins::sort_Plugin_group()
Callback function to sort plugins by group, sub-group and name.
Plugins::sort_Plugin_name()
Callback function to sort plugins by name.
Plugins::sort_Plugin_priority()
Callback function to sort plugins by priority (and classname, if they have same priority).
Plugins::stop_propagation()
Stop propagation of events to next plugins in trigger_event().
Plugins::trigger_collect()
Trigger an event and return an array of all return values of the relevant plugins.
Plugins::trigger_event()
Call all plugins for a given event.
Plugins::trigger_event_first_false()
Call all plugins for a given event, until the first one returns false.
Plugins::trigger_event_first_return()
Call all plugins for a given event, until the first one returns a value (not NULL) (and $search is fulfilled, if given).
Plugins::trigger_event_first_true()
Call all plugins for a given event, until the first one returns true.
Plugins::trigger_karma_collect()
Trigger a karma collecting event in order to get Karma percentage.
Plugins::unfilter_contents()
UnFilter (post) contents by calling the relevant filter plugins.
Plugins::uninstall()
Uninstall a plugin.
Plugins::unregister()
Un-register a plugin.
Plugins::validate_dependencies()
Validate dependencies of a Plugin.
Plugins::validate_list()
Validate renderer list.

[ Top ]
Property Summary
mixed   $is_admin_class  
mixed   $sql_load_plugins_table   Load all plugins (not just enabled ones).

[ Top ]
Properties
mixed   $is_admin_class = true [line 3187]

Redefinition of:
Plugins::$is_admin_class

[ Top ]
mixed   $sql_load_plugins_table = '
SELECT plug_ID, plug_priority, plug_classname, plug_code, plug_name, plug_shortdesc, plug_apply_rendering, plug_status, plug_version, plug_spam_weight
FROM T_plugins
ORDER BY plug_priority, plug_classname'
[line 3182]

Load all plugins (not just enabled ones).


Redefinition of:
Plugins::$sql_load_plugins_table

[ Top ]

Documentation generated on Tue, 20 May 2008 01:44:29 +0200 by phpDocumentor 1.4.2