Quick search:

MenuPart
Country
Employee
Gender
Hours
HoursCategory
IndexPage
initSubmenuData

	function initSubmenuData() {
		$this->submenuData = array();
		//$this->submenuData[] = array(indent, pntType, pntHandler, title, label [, script] );
			//old examples: array(pntType, pntHandler, title, label [, script]);
		
		//the indentation is used to show the dependency of Hours on Employee defined by Employee>>hours::onDelete
		$this->submenuData[] = array(1, 'Employee', '', 'All Employees', 'Employees');
		$this->submenuData[] = array(2, 'Hours', 'SearchPage', 'Search Hours', 'Hours');
		$this->submenuData[] = array(1, 'HoursCategory', '', 'Hours Categories', 'Hr.Categories');
		
		//$this->submenuData = $this->parseSkinSubmenu(); gets the submenuData from your old skinSubmenu
			//it can be also be used to output submenuData configuration code 
	}
}
?>
Copyright (c) MetaClass, 2003-

This code is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Click here for a copy of the license or see http://www.gnu.org/licenses/ .