- <?php
-
- /**
- *
- * @copyright sptpl_clsNewPage.php is part of Sptpl project {@link http://www.andrioli.com/en/sptpl.html} and it is LGPL
- * @author Andrioli Darvin <darvin (inside) andrioli (dot) com>
- * @version $Header: d:\cvs/classistd/sptpl/sptpl_clsNewPage.php,v 2.4 2005/03/17 12:46:48 Darvin Exp $
- */
- /*
- * +-------------------------------------------------------------------------+
- * | Sptpl |
- * +-------------------------------------------------------------------------+
- * | Copyright (c) 2003-2005 Andrioli Darvin |
- * | Email <darvin (inside) andrioli (dot) com> |
- * | Web http://www.andrioli.com/en/sptpl.html |
- * | Download http://www.phpclasses.org/browse.html/package/1326.html |
- * | |
- * +-------------------------------------------------------------------------+
- * | This library is free software; you can redistribute it and/or modify |
- * | it under the terms of the GNU Lesser General Public License as |
- * | published by the Free Software Foundation; either version 2 of the |
- * | License, or (at your option) any later version. |
- * | |
- * | This library is distributed in the hope that it will be useful, but |
- * | WITHOUT ANY WARRANTY; without even the implied warranty of |
- * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
- * | Lesser General Public License for more details. |
- * | |
- * | You should have received a copy of the GNU Lesser General Public |
- * | License along with this library; if not, write to the Free Software |
- * | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
- * +-------------------------------------------------------------------------+
- */
-
-
- class CNewPage {
-
- function NewPage()
- {
- }
-
- /**
- * Parse the row tag and its childs to set the intenal structure
- * Nothing to do in this class.
- * @param object CXml2Array
- * @access public
- */
- function ParseXml($Cfg)
- {
- }
-
- /**
- * Write the text for this row. Actualy this function call the DataStorage to eval
- * the text, then it pass tha evalued text to the PageManager to perform the real output
- * @parameter object CPageMgr &$PageMgr reference to PageManager
- * @access public
- */
- function WriteOut(&$PageMgr)
- {
- if(!is_object($PageMgr))
- trigger_error('Internal error, WriteOut, first parameter should be an object', E_USER_ERROR);
- // print "<br>Ciao";
- $PageMgr->NewPage();
- }
- }
- ?>