The hooks are processed in the order in which they are added to the array. The first dimension is simply the current action, for example before_save. The following hooks are available:
o Fired before a record is saved.
Note: With certain modules, like Cases and Bugs, the human-readable ID of the record (like the case_number field in the Case module), is not available within a before_save call. This is because this business logic simply hasn't been executed yet.
o Fired after a record is saved.
Note: With certain modules, like Cases and Bugs, the human-readable ID of the record (like the case_number field in the Case module), is not available within a before_save call. This is because this business logic simply hasn't been executed yet.
Copyright 2004-2008 SugarCRM Inc.
Product License