Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using controller in plug-ins

...

To use controller in a plug-in, you have to place them beneath the Controller-directory of the Zend-Module of translate5, the plug-in is written for.

As an example you can have a look at the Testplugin/TestController.php at

...

[DraftMode]

  • Plugin_Bootstrap class must not be named "Bootstrap" but for example "Init", otherwise you get Zend Issues
  • As Example see class editor_Plugins_TranslationMemory_Init
  • An ACL entry must be added for resource: "editor_plugin_translationmemory_resource"

Decision helper for new features

...