FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ui-treenav.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2008-2011 Hewlett-Packard Development Company, L.P.
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 class ui_treenav extends FO_Plugin
9 {
10  var $Name = "treenav";
11  var $Version = "1.0";
12  var $MenuList = "";
13 
14  function Output()
15  {
16  $V="";
17  if ($this->State != PLUGIN_STATE_READY) {
18  return;
19  }
20  switch ($this->OutputType) {
21  case "XML":
22  break;
23  case "HTML":
24  break;
25  case "Text":
26  break;
27  default:
28  break;
29  }
30  if (! $this->OutputToStdout) {
31  return ($V);
32  }
33  print("$V");
34  return;
35  }
36 }
37 
38 $NewPlugin = new ui_treenav;
39 $NewPlugin->Initialize();
This is the Plugin class. All plugins should:
Definition: FO_Plugin.php:57
Definition: state.hpp:16
Output()
This function is called when user output is requested. This function is responsible for content....
Definition: ui-treenav.php:14