Versions Compared

Key

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

Classes in Innomatic are standard PHP classes.

Innomatic adheres to and supports PSR-0 autoloading, so you don’t have to use require() and include().

Each class must have its own PHP file inside innomatic/core/classes folder.

You declare classes with the “class” component in application.xml.

e.g. for \Examples\Basic\BasicClass class:

Code Block
<class name="examples/basic/BasicClass.php" />