Core PICKLES Include File
This is the file that you include on the page you're instantiating the controller from (typically index.php). The path to the PICKLES code base is established as well as the path that Smarty will use to store the compiled pages.
PHP version 5
Licensed under The MIT License Redistribution of these files must retain the above copyright notice.
Magic function to automatically load classes
Attempts to load a core PICKLES class or a site level data model or module class. If Smarty is being requested, will load the proper class from the vendors directory
Error handling function that thinks it's magical
Catches errors (warnings and the like) and throws it back out as an ErrorException. This really helps trapping complex errors that need a ton of sanity checks, just try / catch and you're good. Also, this isn't a magic function, but I opted to use the __ prefix to help avoid a naming collision since namespace support is 5.3+ and PICKLES strives to be 5.0+ compatible.
Keep in mind that fetal errors cannot and will not be handled.
Exception handling function
Catches thrown exceptions and displays them.
Documentation generated on Sun, 17 Oct 2010 23:17:23 -0400 by phpDocumentor 1.4.3