Extension classThe extension class is a normal PHP class extended from baseModule.
You need to create a extension class when you want to do some dynamic stuff, like Plugin output, custom windows, manipulate the generated HTML or something like this.
inc/modules/<extensionKey>/<extensionKey>.class.php
Please note, that the file path have to be exactly this scheme.
If you need more than one class in your extension then please create another classes following this scheme:
inc/modules/<extensionKey>/<extensionKey>_<anotherClassName>.class.php
or in camelcase:
inc/modules/<extensionKey>/<extensionKey><AnotherClassName>.class.php
Example extension class
|
What is Kryn.cms ?
Administrator
Developer
|