13 define(
'ELGG_PLUGIN_INCLUDE_START', 1);
18 define(
'ELGG_PLUGIN_REGISTER_VIEWS', 2);
23 define(
'ELGG_PLUGIN_REGISTER_LANGUAGES', 4);
28 define(
'ELGG_PLUGIN_REGISTER_CLASSES', 8);
41 define(
'ELGG_PLUGIN_USER_SETTING_PREFIX',
'plugin:user_setting:');
48 define(
'ELGG_PLUGIN_INTERNAL_PREFIX',
'elgg:internal:');
369 $value[] = $CONFIG->path .
'engine/tests/ElggCorePluginsAPITest.php';
407 $events->registerHandler(
'init',
'system',
'_elgg_plugins_init');
elgg_get_entities_from_plugin_user_settings(array $options=array())
Returns entities based upon plugin user settings.
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
elgg_set_plugin_setting($name, $value, $plugin_id=null)
Set a setting for a plugin.
if($guid==elgg_get_logged_in_user_guid()) $name
_elgg_check_plugins_provides($type, $name, $version=null, $comparison= 'ge')
Checks if a plugin is currently providing $type and $name, and optionally checking a version...
elgg_get_all_plugin_user_settings($user_guid=0, $plugin_id=null, $return_obj=false)
Returns an array of all plugin user settings for a user.
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
_elgg_namespace_plugin_private_setting($type, $name, $id=null)
Namespaces a string to be used as a private setting name for a plugin.
_elgg_cache_plugin_by_id(\ElggPlugin $plugin)
Cache a reference to this plugin by its ID.
elgg_unset_all_plugin_settings($plugin_id=null)
Unsets all plugin settings for a plugin.
_elgg_get_plugin_dependency_strings($dep)
Returns an array of parsed strings for a dependency in the format: array( 'type' => requires...
elgg_set_plugin_user_setting($name, $value, $user_guid=0, $plugin_id=null)
Set a user specific setting for a plugin.
_elgg_get_max_plugin_priority()
Returns the highest priority of the plugins.
elgg global
Pointer to the global context.
elgg_register_ajax_view($view)
Register a view to be available for ajax calls.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
elgg_get_plugin_user_setting($name, $user_guid=0, $plugin_id=null, $default=null)
Get a user specific setting for a plugin.
elgg_register_event_handler($event, $object_type, $callback, $priority=500)
elgg_plugin_exists($id)
Returns if a plugin exists in the system.
_elgg_plugins_init()
Initialize the plugin system.
elgg_unset_plugin_user_setting($name, $user_guid=0, $plugin_id=null)
Unsets a user-specific plugin setting.
_elgg_plugins_test($hook, $type, $value, $params)
Runs unit tests for plugin API.
elgg_get_plugins($status= 'active', $site_guid=null)
Returns an ordered list of plugins.
elgg_unset_plugin_setting($name, $plugin_id=null)
Unsets a plugin setting.
elgg_get_plugin_setting($name, $plugin_id=null, $default=null)
Get setting for a plugin.
elgg_is_active_plugin($plugin_id, $site_guid=null)
Returns if a plugin is active for a current site.
define(function(require){var $=require('jquery');$(document).on('change', '#elgg-river-selector', function(){var url=window.location.href;if(window.location.search.length){url=url.substring(0, url.indexOf('?'));}url+= '?'+$(this).val();window.location.href=url;});})
Initiates page reload when river selector value changes core/river/filter.
_elgg_invalidate_plugins_provides_cache()
Deletes all cached data on plugins being provided.
elgg_register_action($action, $filename="", $access= 'logged_in')
Registers an action.
$user_guid
Avatar remove action.
if(!$collection_name) $id
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
_elgg_generate_plugin_entities()
Discovers plugins in the plugins_path setting and creates entities for them if they don't exist...
elgg_get_plugin_from_id($plugin_id)
Returns an object with the path $path.