Elgg
Version 6.1
|
Go to the source code of this file.
Functions | |
elgg_get_plugin_from_id (string $plugin_id) | |
Elgg plugins library Contains functions for managing plugins. More... | |
elgg_is_active_plugin (string $plugin_id) | |
Returns if a plugin is active for a current site. More... | |
elgg_get_plugins (string $status= 'active') | |
Returns an ordered list of plugins. More... | |
elgg_get_plugin_user_setting (string $name, int $user_guid=0, string $plugin_id= '', $default=null) | |
Get a user specific setting for a plugin. More... | |
elgg_get_plugin_setting (string $name, string $plugin_id, $default=null) | |
Get setting for a plugin. More... | |
elgg_get_plugin_from_id | ( | string | $plugin_id | ) |
Elgg plugins library Contains functions for managing plugins.
Returns an object with the path $path.
string | $plugin_id | The id (dir name) of the plugin. NOT the guid. |
Definition at line 15 of file plugins.php.
elgg_get_plugin_setting | ( | string | $name, |
string | $plugin_id, | ||
$default = null |
|||
) |
Get setting for a plugin.
string | $name | The name of the setting. |
string | $plugin_id | The plugin ID (Required) |
mixed | $default | The default value to return if none is set |
Definition at line 75 of file plugins.php.
elgg_get_plugin_user_setting | ( | string | $name, |
int | $user_guid = 0 , |
||
string | $plugin_id = '' , |
||
$default = null |
|||
) |
Get a user specific setting for a plugin.
string | $name | The name of the setting. |
int | $user_guid | The user GUID or 0 for the currently logged in user. |
string | $plugin_id | The plugin ID (Required) |
mixed | $default | The default value to return if none is set |
Definition at line 55 of file plugins.php.
elgg_get_plugins | ( | string | $status = 'active' | ) |
Returns an ordered list of plugins.
string | $status | The status of the plugins. active, inactive, or all. |
Definition at line 39 of file plugins.php.
elgg_is_active_plugin | ( | string | $plugin_id | ) |
Returns if a plugin is active for a current site.
string | $plugin_id | The plugin ID |
Definition at line 27 of file plugins.php.