프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$alternativeHostName | string | ||
$configuration | array | ||
$defaultValues | array | Default values for some configuration options. | |
$domainConfiguration | array | null | ||
$exception | Exception | ||
$extConfiguration | array | ||
$getVarsToSet | array | ||
$hostName | string | ||
$mode | integer | ||
$urlParameters | array | ||
$utility |
메소드 | 설명 | |
---|---|---|
__construct ( integer $mode, array $urlParameters = [] ) | Initializes the class. | |
get ( string $path ) : mixed | Obtains the configuration by its path. Paths are separated by '/'. | |
getGetVarsToSet ( ) : array | Returns _GET vars to set. | |
getMode ( ) : integer | Returns the current mode. | |
validate ( ) | If the configuration is invalid throws an exception stored earlier. This makes sense only we are have a speaking url. |
메소드 | 설명 | |
---|---|---|
getConfigurationKey ( ) : string | Obtains the configuration key to use. | |
getConfigurationKeyByDomainDecode ( string $configurationKey ) : string | Adjusts configration key for decoding. | |
getDefaultValue ( string $path ) : mixed | Obtains the default value for the option. | |
getFromConfiguration ( string $path ) : mixed | Obtains the value by path from the configuration. | |
loadExtConfiguration ( ) : void | Loads extension configuration. | |
performAutomaticConfiguration ( ) : void | Performs automatic configuration if necessary. | |
postProcessConfiguration ( ) : void | Runs post-processing hooks for extensions. | |
resolveConfigurationKey ( string $keyAlias ) : string | Resolves configuration aliases. For example: 'domain1' => 'domain2', 'domain2' => 'domain3', 'domain3' => array(. | |
setConfigurationForTheCurrentDomain ( ) : void | Sets the configuration from the current domain. | |
setHostnames ( ) : void | Sets host name variables. | |
setHostnamesForDecoding ( ) : void | Sets host name variables for decoding. | |
setHostnamesForEncoding ( ) : void | Sets host name variables for encoding. | |
setRootPageId ( ) : void | Sets the root page id from the current host if that is not set already. | |
setRootPageIdFromDomainRecord ( ) : boolean | Sets the root page id from domain records. | |
setRootPageIdFromRootFlag ( ) : boolean | Sets the root page id from pages with the root flag. | |
setRootPageIdFromTopLevelPages ( ) : boolean | Sets the root page id from the top level pages. | |
updateConfigurationForEncoding ( string &$configurationKey ) : void | Updates _DOMAINS configuration to include only relevant entries and remove rootpage_id option. |
public __construct ( integer $mode, array $urlParameters = [] ) | ||
$mode | integer | One of MODE_* constants |
$urlParameters | array |
protected getConfigurationKey ( ) : string | ||
리턴 | string |
protected getConfigurationKeyByDomainDecode ( string $configurationKey ) : string | ||
$configurationKey | string | |
리턴 | string |
protected getDefaultValue ( string $path ) : mixed | ||
$path | string | |
리턴 | mixed |
protected getFromConfiguration ( string $path ) : mixed | ||
$path | string | |
리턴 | mixed |
protected loadExtConfiguration ( ) : void | ||
리턴 | void |
protected performAutomaticConfiguration ( ) : void | ||
리턴 | void |
protected postProcessConfiguration ( ) : void | ||
리턴 | void |
protected resolveConfigurationKey ( string $keyAlias ) : string | ||
$keyAlias | string | |
리턴 | string |
protected setConfigurationForTheCurrentDomain ( ) : void | ||
리턴 | void |
protected setHostnamesForDecoding ( ) : void | ||
리턴 | void |
protected setHostnamesForEncoding ( ) : void | ||
리턴 | void |
protected setRootPageId ( ) : void | ||
리턴 | void |
protected setRootPageIdFromDomainRecord ( ) : boolean | ||
리턴 | boolean |
protected setRootPageIdFromRootFlag ( ) : boolean | ||
리턴 | boolean |
protected setRootPageIdFromTopLevelPages ( ) : boolean | ||
리턴 | boolean |
protected updateConfigurationForEncoding ( string &$configurationKey ) : void | ||
$configurationKey | string | |
리턴 | void |
protected array $defaultValues | ||
리턴 | array |