Source for file erek_basic_view_menu.php

Documentation is available at erek_basic_view_menu.php


1 <?php
2 /**
3 * @author Jan H. Andersen <jha@ipwsystems.dk>
4 * @author Martin R. Larsen <mrl@ipwsystems.dk>
5 * @copyright {@link http://www.ipwsystems.dk/ IPW Systems a.s}
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
7 * @package eReklamation
8 * @subpackage view
9 * $Id: erek_basic_view_menu.php,v 1.6 2005/02/16 05:04:31 jan Exp $
10 */
11
12 global $system_path;
13 require_once($system_path.'basic_view_menu.php');
14
15 class erek_basic_view_menu extends basic_view_menu {
16
17 function menuAdvanced() {
18 parent::menuAdvanced();
19 echo "{|".owDatatypeDesc('compunit').",gui.php?view=init&otype=compunit,content}\n";
20 echo "{|".owDatatypeDesc('compcountry').",gui.php?view=init&otype=compcountry,content}\n";
21 echo "{|".owDatatypeDesc('compdepartment').",gui.php?view=init&otype=compdepartment,content}\n";
22 echo "{|".owDatatypeDesc('compcause').",gui.php?view=init&otype=compcause,content}\n";
23 echo "{|".owDatatypeDesc('compdecision').",gui.php?view=init&otype=compdecision,content}\n";
24 echo "{|".owDatatypeDesc('compsolution').",gui.php?view=init&otype=compsolution,content}\n";
25 }
26
27 function mainMenu() {
28 echo "{".$this->gl('menu_ecompcreate').",gui.php?view=create&otype=comp&_ret=combi,content}\n";
29 $this->topitems++;
30 echo "{".$this->gl('menu_ecompactive').",gui.php?view=listactive&otype=comp,content}\n";
31 $this->topitems++;
32 echo "{".$this->gl('menu_ecompawait').",gui.php?view=listawait&otype=comp,content}\n";
33 $this->topitems++;
34 echo "{".$this->gl('menu_ecompdone').",gui.php?view=listdone&otype=comp,content}\n";
35 $this->topitems++;
36 echo "{".$this->gl('menu_ecompclosed').",gui.php?view=listclosed&otype=comp,content}\n";
37 $this->topitems++;
38 echo "{".$this->gl('menu_ecompstat').",gui.php?view=search&otype=comp,content}\n";
39 $this->topitems++;
40 $this->menuEbusiness();
41 $this->menuAccess();
42 $this->menuAdvanced();
43 $this->topitems = 9;
44 }
45
46
47 }
48
49 ?>

Documentation generated on Thu, 9 Jun 2005 06:52:09 +0200 by phpDocumentor 1.2.3