diff options
Diffstat (limited to 'documentation/examples/hooks/register/emit.php')
-rw-r--r-- | documentation/examples/hooks/register/emit.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/examples/hooks/register/emit.php b/documentation/examples/hooks/register/emit.php new file mode 100644 index 000000000..bcf991794 --- /dev/null +++ b/documentation/examples/hooks/register/emit.php @@ -0,0 +1,6 @@ +<?php + +register_elgg_event_handler('test', 'example', 'example_init_system_callback'); + +$params = new ElggObject(); +trigger_elgg_event('test', 'example', $params); |