Class \Prado\Web\Services\TPageConfiguration
TPageConfiguration class
TPageConfiguration represents the configuration for a page. The page is specified by a dot-connected path. Configurations along this path are merged together to be provided for the page.
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
|
|
public
|
|
public
|
|
public
|
getProperties() : array<string|int, mixed>
Returns list of page initial property values.
Each array element represents a single property with the key being the property name and the value the initial property value. |
public
|
getRules() : TAuthorizationRuleCollection
Returns list of authorization rules.
The authorization rules are aggregated (bottom-up) from configuration files along the path to the specified page. |
public
|
|
public
|
loadApplicationConfigurationFromXml(TXmlElement $dom, string $configPath) : mixed
Loads the configuration specific for application part
|
public
|
|
public
|
|
public
|
|
public
|
loadFromXml(TXmlElement $dom, string $configPath, string $configPagePath) : mixed
Loads a page configuration.
The configuration includes information for both application and page service. |
public
|
loadPageConfigurationFromPhp(array<string|int, mixed> $config, string $configPath, string $configPagePath) : mixed
Loads the configuration specific for page service.
|
public
|
loadPageConfigurationFromXml(TXmlElement $dom, string $configPath, string $configPagePath) : mixed
Loads the configuration specific for page service.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |