Elgg  Version 1.11
basic.php
Go to the documentation of this file.
1 <?php
9 elgg_register_event_handler('init', 'system', 'example_event_handler');
10 
11 function example_event_handler($event, $type, $object) {
12  var_dump($event);
13  var_dump($type);
14  var_dump($object);
15 
16  return true;
17 }
$object
Definition: upgrade.php:12
example_event_handler($event, $type, $object)
Definition: basic.php:11
$type
Definition: add.php:8
elgg_register_event_handler($event, $object_type, $callback, $priority=500)
Definition: elgglib.php:519