b2evolution

Multilingual multiuser multiblog engine

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

Class: Plugins_no_DB

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

Class Plugins_no_DB

Class Overview

A sub-class of Plugins, just to not load any DB info (which means Plugins and Events).

This is only useful for displaying a list of available plugins or during installation to have a global $Plugins object that does not interfere with the installation process.

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

Plugins
   |
   --Plugins_no_DB

Methods

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

Inherited From Plugins

Plugins::$is_admin_class
Plugins::$plugin_errors
Plugins::$sql_load_plugins_table

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::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.
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::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 ]
Method Summary
void   load_events()   No-operation.
void   load_plugins_table()   No-operation.

[ Top ]
Methods
load_events  [line 3039]

  void load_events( )

No-operation.



Redefinition of:
Plugins::load_events()
(Re)load Plugin Events for enabled (normal use) or all (admin use) plugins.

[ Top ]
load_plugins_table  [line 3032]

  void load_plugins_table( )

No-operation.



Redefinition of:
Plugins::load_plugins_table()
Load Plugins data from T_plugins (only once), ordered by priority.

[ Top ]

Documentation generated on Tue, 18 Dec 2007 22:50:45 +0100 by phpDocumentor 1.4.0