Свойство | Тип | Описание | |
---|---|---|---|
$sites |
Метод | Описание | |
---|---|---|
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 [ |
Результат | array | The site and environment in an array, if provided; may return [null, null] |
public setSites ( |
||
$sites |
public sites ( ) : |
||
Результат | The sites collection for the authenticated user. |