Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Functions | Variables
sites.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Functions

 elgg_get_site_entity ($site_guid=0)
 Get an entity (default is current site) More...
 
 get_site_entity_as_row ($guid)
 Return the site specific details of a site by a row. More...
 
 get_site_by_url ($url)
 Return the site via a url. More...
 
 _elgg_sites_test ($hook, $type, $value, $params)
 Unit tests for sites. More...
 

Variables

return function (\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks)
 

Function Documentation

_elgg_sites_test (   $hook,
  $type,
  $value,
  $params 
)

Unit tests for sites.

Parameters
string$hookunit_test
string$typesystem
mixed$valueArray of tests
mixed$paramsParams
Returns
array private

Definition at line 80 of file sites.php.

elgg_get_site_entity (   $site_guid = 0)

Get an entity (default is current site)

Parameters
int$site_guidOptional. Site GUID.
Returns
|false
Since
1.8.0

Definition at line 18 of file sites.php.

get_site_by_url (   $url)

Return the site via a url.

Parameters
string$urlThe URL of a site
Returns
mixed

Definition at line 55 of file sites.php.

get_site_entity_as_row (   $guid)

Return the site specific details of a site by a row.

Parameters
int$guidThe site GUID
Returns
mixed private

Definition at line 41 of file sites.php.

Variable Documentation

Definition at line 86 of file sites.php.