TParameterModule class
TParameterModule enables loading application parameters from external storage other than the application configuration. To load parameters from an XML file, configure the module by setting its ParameterFile property. Note, the property only accepts a file path in namespace format with file extension being '.xml'. The file format is as follows, which is similar to the parameter portion in an application configuration,
- <parameters>
- <parameter id="param1" value="paramValue1" />
- <parameter id="param2" Property1="Value1" Property2="Value2" ... />
- </parameters>
In addition, any content enclosed within the module tag is also treated as parameters, e.g.,
- <module class="System.Util.TParameterModule">
- <parameter id="param1" value="paramValue1" />
- <parameter id="param2" Property1="Value1" Property2="Value2" ... />
- </module>
If a parameter is defined both in the external file and within the module tag, the former takes precedence.
Located in /Util/TParameterModule.php (line 47)
TComponent | --TApplicationComponent | --TModule | --TParameterModule
Initializes the module by loading parameters.
Loads parameters into application.
Inherited From TModule
TModule::getID()
TModule::init()
TModule::setID()
Inherited From TApplicationComponent
TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Mon, 21 Apr 2008 11:35:51 -0400 by phpDocumentor 1.3.0RC4