31,003
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 113: | Line 113: | ||
<source lang="php"> | <source 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 123: | Line 123: | ||
// 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 | ||