1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
class ProductAdmin extends ModelAdmin {
	
	function init()
	{
	   parent::init();
	// Allow autload of ModelAdmin
	   Requirements::javascript('mysite/javascript/ProductAdmin.js');
	}
	
	static $managed_models = array(
		'Product'
	);
	
	static $url_segment = 'products';
	static $menu_title = 'Products';
	
}
?>