phpDocumentor menu
[ class tree: menu ] [ index: menu ] [ all elements ]

Source for file Define.php

Documentation is available at Define.php

  1. <?
  2. /**
  3. * The Menu Define resource file.
  4. * Defines the Menu system constants for the myPHP System
  5. * This file must be included before all other includes.
  6. *
  7. * @package menu
  8. * @filesource
  9. * @see HTML_MENU_RESOURCE_PATH/Define.php
  10. * @copyright (c) http://Finn-Rasmussen.com
  11. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  12. * @author http://Finn-Rasmussen.com
  13. * @version 1.9
  14. * @since 21-oct-2005
  15. */
  16.  
  17. /**
  18. * @global REQUEST_LAYOUT_SHOW The Request Layout Show Parameter
  19. */
  20. define('REQUEST_LAYOUT_MENU_WIDTH', 'menuLAYOUT_MENU_WIDTH');
  21. define('REQUEST_LAYOUT_MENU_TOP_WIDTH', 'menuLAYOUT_MENU_TOP_WIDTH');
  22. define('REQUEST_LAYOUT_MENU_LEFT_WIDTH', 'menuLAYOUT_MENU_LEFT_WIDTH');
  23. define('REQUEST_LAYOUT_MENU_RIGHT_WIDTH', 'menuLAYOUT_MENU_RIGHT_WIDTH');
  24. define('REQUEST_LAYOUT_MENU_BOTTOM_WIDTH', 'menuLAYOUT_MENU_BOTTOM_WIDTH');
  25. define('REQUEST_LINK_SHOW' , 'menuLINK_SHOW');
  26.  
  27. // Google
  28. define('REQUEST_GOOGLE_COF' , 'cof');
  29. define('REQUEST_GOOGLE_DOMAINS' , 'domains');
  30. define('REQUEST_GOOGLE_SITESEARCH', 'sitesearch');
  31. define('REQUEST_GOOGLE_SA' , 'sa');
  32. define('REQUEST_GOOGLE_Q' , 'q');
  33. define('REQUEST_GOOGLE' , 'googleSearch');
  34.  
  35. /**
  36. * Choose, which layout LINK components to show
  37. * i.e. $layout = LINK_SHOW_MENU_LEFT | LINK_SHOW_MENU_TOP;
  38. * @global LINK_SHOW_ALL The Link Show
  39. */
  40. define('LINK_SHOW_ALL' ,0xFFFF); // Show All Components
  41. define('LINK_SHOW_NONE' ,0x0001); // Show No Components
  42. define('LINK_SHOW_GOOGLE_TOP' ,0x0002); // Show the Google search box, top
  43. define('LINK_SHOW_MENU_TOP' ,0x0004); // Show the Top Menu
  44. define('LINK_SHOW_MENU_LINK' ,0x0008); // Show the Link Menu
  45. define('LINK_SHOW_MENU_LEFT' ,0x0010); // Show the Left Menu
  46. define('LINK_SHOW_MENU_RIGHT' ,0x0020); // Show the Right Menu
  47. define('LINK_SHOW_MENU_BOTTOM' ,0x0040); // Show the Bottom Menu
  48. define('LINK_SHOW_MENU_TAB' ,0x0080); // Show the Tab Menu
  49. define('LINK_SHOW_CONTENT_MENU' ,0x0100); // Show the Content Menu
  50. define('LINK_SHOW_ICONS' ,0x0200); // Show the Icons
  51. // : :
  52.  
  53. define('LINK_SHOW_SPARE' ,0x8000); //
  54.  
  55. $DEFINE_LINK_SHOW =
  56. array(
  57. 'ARRAY_NAME'=>'$DEFINE_LINK_SHOW',
  58. 'LINK_SHOW_GOOGLE_TOP'=>LINK_SHOW_GOOGLE_TOP,
  59. 'LINK_SHOW_MENU_TOP'=>LINK_SHOW_MENU_TOP,
  60. 'LINK_SHOW_MENU_LINK'=>LINK_SHOW_MENU_LINK,
  61. 'LINK_SHOW_MENU_LEFT'=>LINK_SHOW_MENU_LEFT,
  62. 'LINK_SHOW_MENU_RIGHT'=>LINK_SHOW_MENU_RIGHT,
  63. 'LINK_SHOW_MENU_BOTTOM'=>LINK_SHOW_MENU_BOTTOM,
  64. 'LINK_SHOW_MENU_TAB'=>LINK_SHOW_MENU_TAB,
  65. 'LINK_SHOW_CONTENT_MENU'=>LINK_SHOW_CONTENT_MENU,
  66. 'LINK_SHOW_ICONS'=>LINK_SHOW_ICONS,
  67. // : :
  68. 'LINK_SHOW_SPARE'=>LINK_SHOW_SPARE,
  69. );
  70.  
  71. define('ICONS_LAYOUT_VERTICAL' ,'V');
  72. define('ICONS_LAYOUT_HORIZONTAL','H');
  73. define('ICONS_LAYOUT_PARAGRAPH' ,'P');
  74.  
  75. define('MENULINK_PATTERN','-xxx-');
  76.  
  77. define('GOOGLE_COM_CUSTOM_URL', 'http://www.google.com/custom');
  78. ?>

Documentation generated on Thu, 22 Dec 2005 17:06:18 +0100 by phpDocumentor 1.3.0RC3