Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\Database\TestingPlugins Class Reference

Testing version of Plugins, finds no plugins. More...

Inheritance diagram for Elgg\Database\TestingPlugins:
Elgg\Database\Plugins

Public Member Functions

 find ($status= 'active', $site_guid=null)
 Returns no plugins. More...
 
- Public Member Functions inherited from Elgg\Database\Plugins
 __construct (Pool $pool, PluginSettingsCache $cache)
 Constructor. More...
 
 setBootPlugins (array $plugins)
 Set the list of active plugins according to the boot data cache. More...
 
 getDirsInDir ($dir=null)
 Returns a list of plugin directory names from a base directory. More...
 
 generateEntities ()
 Discovers plugins in the plugins_path setting and creates entities for them if they don't exist. More...
 
 cache (\ElggPlugin $plugin)
 Cache a reference to this plugin by its ID. More...
 
 get ($plugin_id)
 Returns an object with the path $path. More...
 
 exists ($id)
 Returns if a plugin exists in the system. More...
 
 getMaxPriority ()
 Returns the highest priority of the plugins. More...
 
 isActive ($plugin_id, $site_guid=null)
 Returns if a plugin is active for a current site. More...
 
 load ()
 Loads all active plugins in the order specified in the tool admin panel. More...
 
 find ($status= 'active', $site_guid=null)
 Returns an ordered list of plugins. More...
 
 setPriorities (array $order)
 Reorder plugins to an order specified by the array. More...
 
 reindexPriorities ()
 Reindexes all plugin priorities starting at 1. More...
 
 namespacePrivateSetting ($type, $name, $id=null)
 Namespaces a string to be used as a private setting name for a plugin. More...
 
 getProvides ($type=null, $name=null)
 Returns an array of all provides from all active plugins. More...
 
 invalidateProvidesCache ()
 Deletes all cached data on plugins being provided. More...
 
 invalidateIsActiveCache ()
 Delete the cache holding whether plugins are active or not. More...
 
 checkProvides ($type, $name, $version=null, $comparison= 'ge')
 Checks if a plugin is currently providing $type and $name, and optionally checking a version. More...
 
 getDependencyStrings ($dep)
 Returns an array of parsed strings for a dependency in the format: array( 'type' => requires, conflicts, or provides. More...
 
 getAllUserSettings ($user_guid=0, $plugin_id=null, $return_obj=false)
 Returns an array of all plugin user settings for a user. More...
 
 setUserSetting ($name, $value, $user_guid=0, $plugin_id=null)
 Set a user specific setting for a plugin. More...
 
 unsetUserSetting ($name, $user_guid=0, $plugin_id=null)
 Unsets a user-specific plugin setting. More...
 
 getUserSetting ($name, $user_guid=0, $plugin_id=null, $default=null)
 Get a user specific setting for a plugin. More...
 
 setSetting ($name, $value, $plugin_id=null)
 Set a setting for a plugin. More...
 
 getSetting ($name, $plugin_id=null, $default=null)
 Get setting for a plugin. More...
 
 unsetSetting ($name, $plugin_id=null)
 Unsets a plugin setting. More...
 
 unsetAllSettings ($plugin_id=null)
 Unsets all plugin settings for a plugin. More...
 
 getEntitiesFromUserSettings (array $options=array())
 Returns entities based upon plugin user settings. More...
 

Detailed Description

Testing version of Plugins, finds no plugins.

private

Definition at line 9 of file TestingPlugins.php.

Member Function Documentation

Elgg\Database\TestingPlugins::find (   $status = 'active',
  $site_guid = null 
)

Returns no plugins.

Parameters
string$statusThe status of the plugins. active, inactive, or all.
mixed$site_guidOptional site guid
Returns
[]

Definition at line 18 of file TestingPlugins.php.


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