iTx Technologies offre gratuitement
cet espace pour SugarCRM !

title

Body

[fermer]

/include/utils/ -> LogicHook.php (sommaire)

(aucune description)

Taille du fichier: 154 lignes (5 kb)
Inclus ou requis: 2 fois
Réferencé: 0 fois
Inclus ou requis: 0 fichiers

Définit la class 1 class

LogicHook:: (5 methods):
  LogicHook()
  initialize()
  setBean()
  call_custom_logic()
  process_hooks()


Classe: LogicHook  - X-Ref

Predefined logic hooks
after_ui_frame
after_ui_footer
after_save
before_save
before_retrieve
after_retrieve
process_record
before_delete
after_delete
before_restore
after_restore
server_roundtrip
before_logout
after_logout
after_login
login_failed

LogicHook()   X-Ref
Aucune description

initialize()   X-Ref
Static Function which returns and instance of LogicHook

return: unknown

setBean(&$bean)   X-Ref
Aucune description

call_custom_logic($module_dir, $event, $arguments = null)   X-Ref
Provide a means for developers to create upgrade safe business logic hooks.
If the bean is null, then we assume this call was not made from a SugarBean Object and
therefore we do not pass it to the method call.

param: string $module_dir
param: string $event
param: array $arguments
param: SugarBean $bean

process_hooks($hook_array, $event, $arguments)   X-Ref
This is called from call_custom_logic and actually performs the action as defined in the
logic hook. If the bean is null, then we assume this call was not made from a SugarBean Object and
therefore we do not pass it to the method call.

param: array $hook_array
param: string $event
param: array $arguments
param: SugarBean $bean



Generé en: Thu Mar 4 09:44:50 2010 | Cross-referenced par PHPXref 0.7