Extrafields: Difference between revisions

Jump to navigation Jump to search
Line 81: Line 81:
// Actions on extra fields (by external module or standard code)
// Actions on extra fields (by external module or standard code)
// FIXME le hook fait double emploi avec le trigger !!
// FIXME le hook fait double emploi avec le trigger !!
$hookmanager->initHooks(array('thirdpartydao'));
$hookmanager->initHooks(array('''module''dao'));
$parameters=array('socid'=>$this->id);
$parameters=array('socid'=>$this->id);
$reshook=$hookmanager->executeHooks('insertExtraFields',$parameters,$this,$action);    // Note that $action and $object may have been modified by some hooks
$reshook=$hookmanager->executeHooks('insertExtraFields',$parameters,$this,$action);    // Note that $action and $object may have been modified by some hooks
Bureaucrats, emailconfirmed, Administrators
825

edits

Navigation menu