Property | Type | Description | |
---|---|---|---|
$sites |
Method | Description | |
---|---|---|
getOptionalSiteEnv ( string $site_env_id ) : array | Get the site and environment with the given ids, if provided | |
getSite ( |
Look up a site by id. | |
getSiteEnv ( string $site_env_id, string $default_env = null ) : array | Get the site and environment with the given ids. | |
setSites ( |
* | |
sites ( ) : |
public getOptionalSiteEnv ( string $site_env_id ) : array | ||
$site_env_id | string | The site/environment id in the form [ |
return | array | The site and environment in an array, if provided; may return [null, null] |
public setSites ( |
||
$sites |
public sites ( ) : |
||
return | The sites collection for the authenticated user. |