aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest/start.php
blob: 3e1817878236a0a861c300b1b91f2b95cc13e100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
	/**
	 * Elgg export test
	 * 
	 * @package ElggDevTools
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Marcus Povey <marcus@marcus-povey.co.uk>
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.com/
	 */

	function exporttest_init($event, $object_type, $object = null) {
		
		global $CONFIG;
			
		add_menu("Export GUID",$CONFIG->wwwroot . "mod/exporttest/",array(
				menu_item("The GUID Exporter",$CONFIG->wwwroot."mod/exporttest/"),
		));
	}

	
	// Make sure test_init is called on initialisation
	register_elgg_event_handler('init','system','exporttest_init');
?>