Method | Description | |
---|---|---|
getOptionalSiteEnv ( string $site_env_id ) : array | Get the site and environment with the given ids if provided | |
getSite ( $site_id ) : mixed | Look up a site by id. | |
getSiteEnv ( string $site_env_id, string $default_env ) : 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. |