
|
PntMenuPart |
PntButtonPart |
PntButtonsPanel |
PntDetailsPart |
PntEditDetailsPart |
PntFilterFormPart |
PntHorizontalTablePart |
PntMtoNFilterFormPart |
PntMtoNPropertyPart |
PntMultiPropsPart |
PntPagePart |
PntPropertyPart |
PntSortDialogPart |
PntTablePart |
PntTabsPart |
|
getCssClass |
getIndent |
getMenuLineParams |
getName |
getUrl |
initMenuData |
initSubmenuData |
isMyDir |
parseSkinSubmenu |
printBody |
printMenuLine |
printSubmenu |
shouldHighlightRow |
|
<?php
// Copyright (c) MetaClass Groningen, 2003-2012
Gen::includeClass('', 'pnt/web/parts');
/** Part that outputs html describing a menu.
* By default includes skinMenuPart.php from the includes folder.
* Includes skinSubMenu.php when printSubMenu is called with the
* application folder name as the argument.
* But if ::initMenuData and initSubmenuData are overridden,
* menu's are printed from the initialized arrays and
* the menu with the current pntType will be highligted.
* If no pntType the applications main menu item will be highlighted
*
* This abstract superclass provides behavior for the concrete
* subclass MainMenuPart in the root classFolder and
* subclasses MenuPart in the application classFolder.
* To keep de application developers code (including localization overrides)
* separated from the framework code override methods in the
* concrete subclass rather then modify them here.
* @see http://www.phppeanuts.org/site/index_php/Menu/178
* @see http://www.phppeanuts.org/site/index_php/Pagina/65
* @package pnt/web/parts
*/
class PntMenuPart extends {
public $rowHlColor='#FBFFB3';
public $menuData;
public $submenuData;
|
Copyright (c) MetaClass, 2003-2013
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/ .
|
|