Created
March 21, 2011 21:21
-
-
Save caefer/880239 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // you can not enable MyPlugin from MyPlugin! | |
| // but you can enable AnotherPlugin from MyPlugin. | |
| class MyPluginConfiguration extendssfPluginConfiguration | |
| { | |
| public function initialize() | |
| { | |
| $this->configuration->enablePlugins(array('AnotherPlugin')); | |
| // ... | |
| } | |
| } | |
| // UNTESTED! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment