Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
docs
examples
hooks
trigger.php
Go to the documentation of this file.
1
<?php
8
$result
=
elgg_trigger_plugin_hook
(
'get_status'
,
'example'
, null,
true
);
9
10
if
(
$result
) {
11
var_dump(
'Plugin hook says ok!'
);
12
}
else
{
13
var_dump(
'Plugin hook says no.'
);
14
}
$result
$result
The current value for the hook is passed into the trigger function.
Definition:
trigger.php:8
elgg_trigger_plugin_hook
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Trigger a Plugin Hook and run all handler callbacks registered to that hook:type. ...
Definition:
elgglib.php:925
Generated on Sat Dec 21 2024 00:00:34 for Elgg by
1.8.11