We extended some classes from FuelPHP. The additions we made are listed in this page.
Controller_Admin_Page controller, its filename can either be
classes/controller/admin/page.php or classes/controller/admin/page.ctrl.php.__construct() will try to create the specified cache directory when it doesn’t exists.
send(): we added two events email.before_send and email.after_send
Added two methods register_function() and trigger_function() to deal with by-reference arguments.
Autoloader, see above)Added a cache for Model::$_properties
Added behaviours
Added somes relations
Added two options in build options:
before_where: Anarray,search_column=>$replace, where$replacecan be a string or aclosurewhich takes the$conditionarray by parameterIf$replacereturn null, the$conditionwill be remove from thewhereoptionsbefore_order_by: Anarray,search_column=>$replace, where$replacecan be a string or aclosurewhich takes the entry column by parameterIf$replacereturn null, the column will be remove from theorder_byoptions