7.1. Opt_Class class
7.1.5. loadConfig()
7.1.4. getTranslationInterface()
« Previous
7.1.6. register()
Next »

7.1.5. loadConfig()

ConstructMethod
Visibilitypublic
Referencebool loadConfig(mixed $config)
Argument list
$config - mixed
The array of the configuration values or path to the INI file with the configuration.
Returned valueTrue on success.
Versionssince 2.0-dev7

Loads the OPT configuration from external INI file or an array, depending on the $config argument type.

This method is inherited from the OPL core and you will find it also in other OPL projects. Remember that the OPL core is allowed to be rewritten in order to suit specific needs and in this case this method should behave in different way.

See also:

7.1.5. loadConfig()
7.1. Opt_Class class
« Previous
7.1.4. getTranslationInterface()
Next »
7.1.6. register()