Go to the source code of this file.
_elgg_sites_test |
( |
|
$hook, |
|
|
|
$type, |
|
|
|
$value, |
|
|
|
$params |
|
) |
| |
Unit tests for sites.
- Parameters
-
string | $hook | unit_test |
string | $type | system |
mixed | $value | Array of tests |
mixed | $params | Params |
- Returns
- array private
Definition at line 83 of file sites.php.
elgg_get_site_entity |
( |
|
$site_guid = 0 | ) |
|
Get an ElggSite entity (default is current site)
- Parameters
-
int | $site_guid | Optional. Site GUID. |
- Returns
- ElggSite
- Since
- 1.8.0
Definition at line 18 of file sites.php.
Return the site via a url.
- Parameters
-
string | $url | The URL of a site |
- Returns
- mixed
Definition at line 58 of file sites.php.
get_site_entity_as_row |
( |
|
$guid | ) |
|
Return the site specific details of a site by a row.
- Parameters
-
- Returns
- mixed private
Definition at line 44 of file sites.php.