- 4.1. Opl_Class class
4.1.5. loadPlugins() - 4.1.4. loadConfig()
« Previous - 4.2. Opl_Debug
Next »
4.1.5. loadPlugins()
| Construct | Method |
|---|---|
| Visibility | public |
| Reference | void Opl_Class::loadPlugins() |
| Thrown exceptions | Opl_NotWriteable_Exception, Opl_FileNotExists_Exception, Opl_InvalidType_Exception |
| Versions | since 2.0.0-dev7 |
Loads the plugins stored in all of the pluginDir directories. The directories are scanned only once, to create a temporary PHP file which loads the rest. The file is saved in pluginDataDir. If pluginAutoload is true, the plugin directories are scanned for modifications. If there are any new plugins, the temporary file is rebuilt.
In order to create a support for plugins in your library, you have to implement the Opl_Class::_pluginLoader() method.
See also:
- 4.1.5. loadPlugins()
4.1. Opl_Class class - « Previous
4.1.4. loadConfig() - Next »
4.2. Opl_Debug