phpDocumentor SpoolTemplate
[ Back ] [ class tree: SpoolTemplate ] [ index: SpoolTemplate ] [ all elements ]

Source for file sptpl_clsNewPage.php

Documentation is available at sptpl_clsNewPage.php

  1. <?php
  2.  
  3. /**
  4. *
  5. * @copyright sptpl_clsNewPage.php is part of Sptpl project {@link http://www.andrioli.com/en/sptpl.html} and it is LGPL
  6. * @author Andrioli Darvin <darvin (inside) andrioli (dot) com>
  7. * @version $Header: d:\cvs/classistd/sptpl/sptpl_clsNewPage.php,v 2.4 2005/03/17 12:46:48 Darvin Exp $
  8. */
  9. /*
  10. * +-------------------------------------------------------------------------+
  11. * | Sptpl |
  12. * +-------------------------------------------------------------------------+
  13. * | Copyright (c) 2003-2005 Andrioli Darvin |
  14. * | Email <darvin (inside) andrioli (dot) com> |
  15. * | Web http://www.andrioli.com/en/sptpl.html |
  16. * | Download http://www.phpclasses.org/browse.html/package/1326.html |
  17. * | |
  18. * +-------------------------------------------------------------------------+
  19. * | This library is free software; you can redistribute it and/or modify |
  20. * | it under the terms of the GNU Lesser General Public License as |
  21. * | published by the Free Software Foundation; either version 2 of the |
  22. * | License, or (at your option) any later version. |
  23. * | |
  24. * | This library is distributed in the hope that it will be useful, but |
  25. * | WITHOUT ANY WARRANTY; without even the implied warranty of |
  26. * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
  27. * | Lesser General Public License for more details. |
  28. * | |
  29. * | You should have received a copy of the GNU Lesser General Public |
  30. * | License along with this library; if not, write to the Free Software |
  31. * | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
  32. * +-------------------------------------------------------------------------+
  33. */
  34.  
  35.  
  36. class CNewPage {
  37.  
  38. function NewPage()
  39. {
  40. }
  41.  
  42. /**
  43. * Parse the row tag and its childs to set the intenal structure
  44. * Nothing to do in this class.
  45. * @param object CXml2Array
  46. * @access public
  47. */
  48. function ParseXml($Cfg)
  49. {
  50. }
  51.  
  52. /**
  53. * Write the text for this row. Actualy this function call the DataStorage to eval
  54. * the text, then it pass tha evalued text to the PageManager to perform the real output
  55. * @parameter object CPageMgr &$PageMgr reference to PageManager
  56. * @access public
  57. */
  58. function WriteOut(&$PageMgr)
  59. {
  60. if(!is_object($PageMgr))
  61. trigger_error('Internal error, WriteOut, first parameter should be an object', E_USER_ERROR);
  62. // print "<br>Ciao";
  63. $PageMgr->NewPage();
  64. }
  65. }
  66. ?>

Documentation generated on Mon, 28 Mar 2005 15:13:16 +0200 by phpDocumentor 1.3.0RC3