We extended some classes from FuelPHP. The additions we made are listed in this page.
__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.
Added a cache for Model::$_properties
Added behaviours
Added somes relations
Added two options in build options:
before_where: An array, search_column => $replace, where $replace can be a string or a closure which takes the $condition array by parameterIf $replace return null, the $condition will be remove from the where optionsbefore_order_by: An array, search_column => $replace, where $replace can be a string or a closure which takes the entry column by parameterIf $replace return null, the column will be remove from the order_by options