23     if ($site_guid == 0) {
 
   48     return get_data_row(
"SELECT * FROM {$CONFIG->dbprefix}sites_entity WHERE guid = $guid");
 
   63     $row = 
get_data_row(
"SELECT * from {$CONFIG->dbprefix}sites_entity where url='$url'");
 
   85     $value[] = 
"{$CONFIG->path}engine/tests/ElggSiteTest.php";
 
   90     $hooks->registerHandler(
'unit_test', 
'system', 
'_elgg_sites_test');
 
$guid
Removes an admin notice.
 
sanitise_string($string)
Wrapper function for alternate English spelling (.
 
get_data_row($query, $callback="")
Retrieve a single row from the database.
 
get_entity($guid)
Loads and returns an entity object from a guid.
 
get_site_entity_as_row($guid)
Return the site specific details of a site by a row.
 
_elgg_sites_test($hook, $type, $value, $params)
Unit tests for sites.
 
get_site_by_url($url)
Return the site via a url.
 
elgg_get_site_entity($site_guid=0)
Get an \ElggSite entity (default is current site)