Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
Getting StartedHelpful ResourcesAsk questions on the Help ForumRead the User GuideBrowse the Reference DocumentationSubscribe to the Helix Mailing ListLearning HelixAdvanced Topics

Class Auto-Loader

All classes in Helix are loaded on-demand the first time they are used in the code.  This means that there is no need to use PHP include() statements to load class files before a class is used.

In order for the class auto-loader to work correctly, all classes must have the same name as the file where they are defined, and only one class can be defined per file.  Additionally, any class that extends a built-in Helix module data class should be placed in the lib/final folder of the site, and any other class should be placed in the lib/ndo folder of the site.

With the class auto-loader, you have hundreds of built-in database-backed objects that are already provided by Helix.  See the class reference for a full list of built-in Helix objects

Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads