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

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

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