com.lokorin.lokorin.modules
[ class tree: com.lokorin.lokorin.modules ] [ index: com.lokorin.lokorin.modules ] [ all elements ]

Source for file module_about.php

Documentation is available at module_about.php

  1. <?php
  2. /*
  3. * Lokorin.com
  4. * Copyright 2004-2006
  5. * Licensed under the GNU LGPL. See COPYING for full terms.
  6. */
  7. /**
  8. * A project module that displays the basic information about the project.
  9. * @author Andreas Launila
  10. * @version $Revision: 1.7 $
  11. * @package com.lokorin.lokorin.modules
  12. * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  13. */
  14.  
  15. /**
  16. * For access to common constants and functions.
  17. */
  18. require_once('common.php');
  19. doInclude('lib_projects');
  20. Page::getInstance()->setTitle('About');
  21.  
  22. try {
  23. $project = getProjectBasedOnDir();
  24. Page::getInstance()->setProject($project);
  25. } catch(Exception $e) {
  26. logFatalException($e);
  27. }
  28.  
  29. echo $project->getInfo();
  30. Page::getInstance()->display();
  31.  
  32. ?>

Documentation generated on Sun, 16 Apr 2006 21:04:01 +0200 by phpDocumentor 1.3.0RC4