Elgg  Version 1.9
Variables
trigger.php File Reference

Go to the source code of this file.

Variables

 $result = elgg_trigger_plugin_hook('get_status', 'example', null, true)
 The current value for the hook is passed into the trigger function. More...
 
if($result) else
 

Variable Documentation

$result = elgg_trigger_plugin_hook('get_status', 'example', null, true)

The current value for the hook is passed into the trigger function.

Handlers can change this value. In this snippet, we check if the value of true was changed by the handler functions.

Definition at line 8 of file trigger.php.

if ($result) else
Initial value:
{
var_dump('Plugin hook says no.')

Definition at line 12 of file trigger.php.