Go to the source code of this file.
◆ _elgg_sites_test()
      
        
          | _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 @access private 
 
Definition at line 83 of file sites.php.
 
 
◆ elgg_get_site_entity()
      
        
          | 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.
 
 
◆ get_site_by_url()
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()
      
        
          | get_site_entity_as_row  | 
          ( | 
            | 
          $guid | ) | 
           | 
        
      
 
Return the site specific details of a site by a row. 
- Parameters
 - 
  
  
 
- Returns
 - mixed @access private 
 
Definition at line 44 of file sites.php.
 
 
◆ function