31,024
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 112: | Line 112: | ||
<syntaxHighlight lang="php"> | <syntaxHighlight lang="php"> | ||
// Call trigger | // Call trigger | ||
$result = $this->call_trigger(' | $result = $this->call_trigger('CODE_TRIGGER', $user); | ||
if ($result <0) $error++; | if ($result <0) $error++; | ||
// End call triggers | // End call triggers | ||
| Line 122: | Line 122: | ||
// Call trigger | // Call trigger | ||
$this->context = array('paramX'=>$valueX, 'anyparamofyourchoice'=>$anyvalue); | $this->context = array('paramX'=>$valueX, 'anyparamofyourchoice'=>$anyvalue); | ||
$result=$this->call_trigger(' | $result = $this->call_trigger('CODE_TRIGGER',$user); | ||
if ($result < 0) $error++; | if ($result < 0) $error++; | ||
// End call triggers | // End call triggers | ||