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

Source for file Define.php

Documentation is available at Define.php

  1. <?
  2. /**
  3. * The Define resource file.
  4. * Defines the Layout system constants for the myPHP System
  5. * This file must be included before all other includes.
  6. *
  7. * @package layout
  8. * @filesource
  9. * @see HTML_LAYOUT_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_SHOW' , 'layoutLAYOUT_SHOW');
  21.  
  22. /**
  23. * @global LAYOUT_LINE_HEIGH_SMALL The Layout Line Height
  24. */
  25. define('LAYOUT_LINE_HEIGH_SMALL', '5');
  26.  
  27. /**
  28. * @global LAYOUT_LINE_HEIGH_LARGE The Layout Line Height
  29. */
  30. define('LAYOUT_LINE_HEIGH_LARGE', '8');
  31.  
  32. /**
  33. * Choose, which layout components to show
  34. * i.e. $layout = LAYOUT_SHOW_BANNER | LAYOUT_SHOW_COPYRIGHT;
  35. * @global LAYOUT_SHOW_ALL The Layout Show
  36. */
  37. define('LAYOUT_SHOW_ALL' ,0xFFFF); // Show All Components
  38. define('LAYOUT_SHOW_NONE' ,0x0001); // Show No Components
  39. define('LAYOUT_SHOW_BANNER' ,0x0002); // Show the Banner
  40. define('LAYOUT_SHOW_LOCATOR' ,0x0004); // Show the Locator menu
  41. define('LAYOUT_SHOW_WEBMASTER' ,0x0008); // Show the Webmaster
  42. define('LAYOUT_SHOW_CUSTOMER' ,0x0010); // Show the Customer info
  43. define('LAYOUT_SHOW_COMPANY' ,0x0020); // Show the Company Info
  44. define('LAYOUT_SHOW_FOOTER' ,0x0040); // Show the Footer
  45. define('LAYOUT_SHOW_COPYRIGHT' ,0x0080); // Show the Copyright notice
  46. define('LAYOUT_SHOW_BANNERIF' ,0x0100); // Show the Banner IFRAME
  47. define('LAYOUT_SHOW_LINE' ,0x0200); // Show the Line component
  48. define('LAYOUT_SHOW_PROFILE' ,0x0400); // Show the Company Profile
  49. define('LAYOUT_SHOW_TOP' ,0x0800); // Show the Top Banner
  50. define('LAYOUT_SHOW_BRANDING' ,0x1000); // Show the Branding top
  51. define('LAYOUT_SHOW_FIRMA' ,0x2000); // Show the Firma Info
  52. define('LAYOUT_SHOW_SPARE1' ,0x4000); //
  53. define('LAYOUT_SHOW_SPARE2' ,0x8000); //
  54.  
  55. $DEFINE_LAYOUT_SHOW =
  56. array(
  57. 'ARRAY_NAME'=>'$DEFINE_LAYOUT_SHOW',
  58. 'LAYOUT_SHOW_BANNER'=>LAYOUT_SHOW_BANNER,
  59. 'LAYOUT_SHOW_LOCATOR'=>LAYOUT_SHOW_LOCATOR,
  60. 'LAYOUT_SHOW_WEBMASTER'=>LAYOUT_SHOW_WEBMASTER,
  61. 'LAYOUT_SHOW_CUSTOMER'=>LAYOUT_SHOW_CUSTOMER,
  62. 'LAYOUT_SHOW_COMPANY'=>LAYOUT_SHOW_COMPANY,
  63. 'LAYOUT_SHOW_FOOTER'=>LAYOUT_SHOW_FOOTER,
  64. 'LAYOUT_SHOW_COPYRIGHT'=>LAYOUT_SHOW_COPYRIGHT,
  65. 'LAYOUT_SHOW_BANNERIF'=>LAYOUT_SHOW_BANNERIF,
  66. 'LAYOUT_SHOW_LINE'=>LAYOUT_SHOW_LINE,
  67. 'LAYOUT_SHOW_PROFILE'=>LAYOUT_SHOW_PROFILE,
  68. 'LAYOUT_SHOW_TOP'=>LAYOUT_SHOW_TOP,
  69. 'LAYOUT_SHOW_BRANDING'=>LAYOUT_SHOW_BRANDING,
  70. 'LAYOUT_SHOW_FIRMA'=>LAYOUT_SHOW_FIRMA,
  71. 'LAYOUT_SHOW_SPARE1'=>LAYOUT_SHOW_SPARE1,
  72. 'LAYOUT_SHOW_SPARE2'=>LAYOUT_SHOW_SPARE2,
  73. );
  74.  
  75. define('DESIGN_TYPE_TEXT' , 0x0000);
  76. define('DESIGN_TYPE_CHECKBOX', 0x0001);
  77. define('DESIGN_TYPE_RADIO' , 0x0002);
  78. define('DESIGN_TYPE_DEC2BIN' , 0x0003);
  79. define('DESIGN_TYPE_DEC2HEX' , 0x0004);
  80.  
  81. define('THE_CUSTOMER_DOMAIN_NAME', 'Demo of your domain name. I.e. '.ucfirst(DOMAIN_NAME));
  82. ?>

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