Source for file GenericTheme.class.php

Documentation is available at GenericTheme.class.php

  1. <?php
  2.  
  3. require_once(HARMONI."GUIManager/Theme.class.php");
  4.  
  5. require_once(HARMONI."GUIManager/StyleCollection.class.php");
  6.  
  7. require_once(HARMONI."GUIManager/StyleProperties/BackgroundColorSP.class.php");
  8. require_once(HARMONI."GUIManager/StyleProperties/ColorSP.class.php");
  9. require_once(HARMONI."GUIManager/StyleProperties/BorderSP.class.php");
  10. require_once(HARMONI."GUIManager/StyleProperties/BorderTopSP.class.php");
  11. require_once(HARMONI."GUIManager/StyleProperties/BorderRightSP.class.php");
  12. require_once(HARMONI."GUIManager/StyleProperties/BorderBottomSP.class.php");
  13. require_once(HARMONI."GUIManager/StyleProperties/BorderLeftSP.class.php");
  14. require_once(HARMONI."GUIManager/StyleProperties/MarginSP.class.php");
  15. require_once(HARMONI."GUIManager/StyleProperties/PaddingSP.class.php");
  16. require_once(HARMONI."GUIManager/StyleProperties/FontSP.class.php");
  17. require_once(HARMONI."GUIManager/StyleProperties/FontSizeSP.class.php");
  18. require_once(HARMONI."GUIManager/StyleProperties/FontWeightSP.class.php");
  19. require_once(HARMONI."GUIManager/StyleProperties/TextAlignSP.class.php");
  20. require_once(HARMONI."GUIManager/StyleProperties/TextDecorationSP.class.php");
  21. require_once(HARMONI."GUIManager/StyleProperties/DisplaySP.class.php");
  22.  
  23. /**
  24. * A very basic theme based on simple borders and colored blocks.
  25. * <br><br>
  26. * A <code>Theme</code> is a combination of two things: first, it stores a variety
  27. * of reusable <code>StyleCollections</code> and second, it offers a mechanism for
  28. * printing an HTML web page.
  29. * <br><br>
  30. * Each <code>Theme</code> has a set of style collections that correspond to
  31. * each component type.
  32. * <br><br>
  33. * Each <code>Theme</code> has a single component (could be container) that will
  34. * be printed when <code>printPage()</code> is called.
  35. *
  36. * @package harmoni.gui.themes
  37. *
  38. * @copyright Copyright &copy; 2005, Middlebury College
  39. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  40. *
  41. * @version $Id: GenericTheme.class.php,v 1.3 2005/02/07 21:38:17 adamfranco Exp $
  42. */
  43. class GenericTheme extends Theme {
  44.  
  45. /**
  46. * The constructor. All initialization and Theme customization is performed
  47. * here.
  48. * @access public
  49. ***/
  50. function GenericTheme() {
  51. $this->Theme(null,null);
  52. }
  53.  
  54. }
  55.  
  56. ?>

Documentation generated on Wed, 19 Sep 2007 10:23:23 -0400 by phpDocumentor 1.3.0RC3