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

Source for file Define.php

Documentation is available at Define.php

  1. <?
  2. /**
  3. * The Define resource file.
  4. * Defines the Component system constants for the myPHP System
  5. * This file must be included before all other includes.
  6. *
  7. * @package component
  8. * @filesource
  9. * @see HTML_COMPONENT_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_COMPONENT_SHOW The Request Component Show Parameter
  19. */
  20. define('REQUEST_COMPONENT_SHOW' , 'componentCOMPONENT_SHOW');
  21.  
  22. /**
  23. * Choose, which layout components to show
  24. * i.e. $layout = COMPONENT_SHOW_GOOGLE | COMPONENT_SHOW_JOE_JUBII;
  25. * @global COMPONENT_SHOW_ALL The Component Show show all
  26. */
  27. define('COMPONENT_SHOW_ALL' ,0xFFFF); // Show All Components
  28. define('COMPONENT_SHOW_NONE' ,0x0001); // Show No Components
  29. define('COMPONENT_SHOW_GOOGLE' ,0x0002); // Show the Google search box, body
  30. define('COMPONENT_SHOW_REFERER' ,0x0004); // Show the Content Referer info
  31. define('COMPONENT_SHOW_JOE_JUBII' ,0x0008); // Show the Joe Jubii email search
  32. define('COMPONENT_SHOW_XML_LIST_VIEW',0x0010); // Show the XML List View
  33. define('COMPONENT_SHOW_XML_FORM_VIEW',0x0020); // Show the XML Form View
  34. define('COMPONENT_SHOW_SOURCE_CODE' ,0x0040); // Show the source code
  35. define('COMPONENT_SHOW_EMAIL_VIEW' ,0x0080); // Show the Email View
  36. define('COMPONENT_SHOW_POSTNO_VIEW' ,0x0100); // Show the Postno/Phone View
  37. define('COMPONENT_SHOW_IMAGEROTATOR' ,0x0200); // Show the Image Rotator
  38. define('COMPONENT_SHOW_BANNERROTATOR',0x0400); // Show the Banner Rotator
  39. define('COMPONENT_SHOW_CONTENTS' ,0x0800); // Show the Main Content articles
  40. define('COMPONENT_SHOW_SOURCE' ,0x1000); // Show the Main Content articles
  41. define('COMPONENT_SHOW_CONTENT_DATE' ,0x2000); // Show the content of the day
  42. define('COMPONENT_SHOW_REJSEPLANEN' ,0x4000); // Show the Rejseplanen
  43. define('COMPONENT_SHOW_SPARE' ,0x8000); //
  44.  
  45. /**
  46. * @global DEFINE_COMPONENT_SHOW The array of Components to Show show
  47. */
  48. $DEFINE_COMPONENT_SHOW =
  49. array(
  50. 'ARRAY_NAME'=>'$DEFINE_COMPONENT_SHOW',
  51. 'COMPONENT_SHOW_GOOGLE'=>COMPONENT_SHOW_GOOGLE,
  52. 'COMPONENT_SHOW_REFERER'=>COMPONENT_SHOW_REFERER,
  53. 'COMPONENT_SHOW_JOE_JUBII'=>COMPONENT_SHOW_JOE_JUBII,
  54. 'COMPONENT_SHOW_XML_LIST_VIEW'=>COMPONENT_SHOW_XML_LIST_VIEW,
  55. 'COMPONENT_SHOW_XML_FORM_VIEW'=>COMPONENT_SHOW_XML_FORM_VIEW,
  56. 'COMPONENT_SHOW_SOURCE_CODE'=>COMPONENT_SHOW_SOURCE_CODE,
  57. 'COMPONENT_SHOW_EMAIL_VIEW'=>COMPONENT_SHOW_EMAIL_VIEW,
  58. 'COMPONENT_SHOW_POSTNO_VIEW'=>COMPONENT_SHOW_POSTNO_VIEW,
  59. 'COMPONENT_SHOW_IMAGEROTATOR'=>COMPONENT_SHOW_IMAGEROTATOR,
  60. 'COMPONENT_SHOW_BANNERROTATOR'=>COMPONENT_SHOW_BANNERROTATOR,
  61. 'COMPONENT_SHOW_CONTENTS'=>COMPONENT_SHOW_CONTENTS,
  62. 'COMPONENT_SHOW_SOURCE'=>COMPONENT_SHOW_SOURCE,
  63. 'COMPONENT_SHOW_CONTENT_DATE'=>COMPONENT_SHOW_CONTENT_DATE,
  64. 'COMPONENT_SHOW_REJSEPLANEN'=>COMPONENT_SHOW_REJSEPLANEN,
  65. 'COMPONENT_SHOW_SPARE'=>COMPONENT_SHOW_SPARE,
  66. );
  67.  
  68. ?>

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