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

Source for file start.php

Documentation is available at start.php

  1. <?
  2. /**
  3. * This file is the global page start
  4. * The page is build with the myPHP TagLib
  5. *
  6. * @package template
  7. * @filesource
  8. * @see INC_PATH.PAGE_START_FILE_NAME
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * The Require files
  18. * @see INC_PATH.PAGE_REQUIRE_FILE_NAME
  19. */
  20. if (file_exists(INC_PATH.PAGE_REQUIRE_FILE_NAME)) {
  21. require_once(INC_PATH.PAGE_REQUIRE_FILE_NAME);
  22. }
  23.  
  24.  
  25. // TODO how to set the SID. Must come before any print '';
  26. //require_once(HTML_UTIL_COMPONENT_PATH.'/Session.php');
  27. //print 'SID='.Session::getId()."<br />\r\n";
  28.  
  29.  
  30.  
  31. /**
  32. * Go Google Search, if requested?
  33. * @see EngineGoogle::display()
  34. */
  35. if (defined('HTML_MENU_CONTROLLER_PATH')) {
  36. EngineGoogle::display(); // and exit
  37. }
  38.  
  39. /**
  40. * The Head section
  41. * @see INC_PATH.PAGE_HEAD_FILE_NAME
  42. */
  43. if (file_exists(INC_PATH.PAGE_HEAD_FILE_NAME)) {
  44. require_once(INC_PATH.PAGE_HEAD_FILE_NAME);
  45. }
  46.  
  47. /**
  48. * The Body section
  49. * @see BodyStart::display()
  50. * @see Noscript::display()
  51. */
  52. if (defined('HTML_BASE_PAGE_PATH')) {
  53. BodyStart::display();
  54. Noscript::display();
  55. }
  56.  
  57. /**
  58. * The Top File name
  59. * @see INC_PATH.PAGE_TOP_FILE_NAME
  60. */
  61. if (file_exists(INC_PATH.PAGE_TOP_FILE_NAME)) {
  62. require_once(INC_PATH.PAGE_TOP_FILE_NAME);
  63. }
  64.  
  65. /**
  66. * The Tab File name
  67. * @see INC_PATH.PAGE_TAb_FILE_NAME
  68. */
  69. if (file_exists(INC_PATH.PAGE_TAB_FILE_NAME)) {
  70. require_once(INC_PATH.PAGE_TAB_FILE_NAME);
  71. }
  72.  
  73. /**
  74. * The Skeleton File name
  75. * @see INC_PATH.PAGE_SKELETON_FILE_NAME
  76. */
  77. if (file_exists(INC_PATH.PAGE_SKELETON_FILE_NAME)) {
  78. require_once(INC_PATH.PAGE_SKELETON_FILE_NAME);
  79. }
  80. ?>

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