Closed paulchubatyy closed 12 years ago
Is there any processing that can only be done in before_load and not after_load? IMO after_load is more appropriate and allowing only one place to modify data on load might make debugging easier (trying to keep it simple). Besides, unless the $values array is passed by reference, it won't do any good to do pre-processing on it. Adding this parameter has the potential to break existing code so I'd prefer not to unless there is good justification.
Thanks! Colin
When calling before load it is useful to add the data that is gonna be loaded into the model. Maybe some kind of pre-processing and stuff you know.
Please ignore the other commits, I have no idea how they happened here, but they don't seem to carry any changes to the codebase.
Thank you for a great module.