- 4.1. Opl_Class class
4.1.1. _pluginLoader() - 4.1. Opl_Class class
« Previous - 4.1.2. _securePath()
Next »
4.1.1. _pluginLoader()
| Construct | Method |
|---|---|
| Visibility | protected |
| Reference | void Opl_Class::_pluginLoader( string $directory, string $file ) |
| Argument list |
|
| Versions | since 2.0.0-dev7 |
The method is used, when the temporary plugin file is being rebuilt. It takes the directory and the filename and it must generate a PHP code that loads it. This is a sample implementation:
protected function _pluginLoader($dir, $file) { return 'require(\''.$dir.$file.'\'); '; } // end _pluginLoader();
See also:
- 4.1.1. _pluginLoader()
4.1. Opl_Class class - « Previous
4.1. Opl_Class class - Next »
4.1.2. _securePath()