PluginHooks:InitializePlugin

Description
Can be used to run plugin option initialization code in the complete environment.

Related Code
File: /lib/plugin.php Class: Plugin (The parent of all plugin classes) Code: mainline

Example
class ExamplePlugin extends Plugin { onInitializePlugin { file_put_contents("/tmp/plugindata.txt","somedata"); // Creates a temporary file and puts data to it. } }