aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/events/emit.php
blob: b917c6dc06bd76f56c6138b4d6fcc749d627d062 (plain)
1
2
3
4
5
6
7
<?php

$params = new ElggObject();
elgg_trigger_event('test', 'example', $params);

// handlers would be registered by saying
elgg_register_event_handler('test', 'example', 'example_event_handler');