Source for file Savable.php
Documentation is available at Savable.php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | MCMS: a PHP Content Management System for creating accessible sites. |
// | Copyright (C) 2005 Silvio Moioli |
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation; either version 2 of the License, or |
// | (at your option) any later version. |
// | This program 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 General Public License for more details. |
// | You should have received a copy of the GNU General Public License |
// | along with this program; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
// +----------------------------------------------------------------------+
// | Authors: Silvio Moioli <silvio at moioli dot net> www.moioli.net |
// +----------------------------------------------------------------------+
/** Classe astratta che rappresenta una pagina XHTML. */
require_once $_SERVER["DOCUMENT_ROOT"]. "/admin/lib/view/Compilable.php";
* Classe astratta che rappresenta una pagina XHTML compilabile staticamente
* Ogni sottoclasse deve implementare tutti i suoi metodi e potrà
* essere usata per generare il codice relativo tramite un oggetto Compiler.
* Sarà inoltre possibile salvare la pagina.
* @author Silvio Moioli <silvio at moioli dot net>
* Questo metodo è "astratto" pertanto dovrebbe essere implementato da
* tutte le classi che estendono questa classe.
* Ritorna il nome del file in cui questa pagina deve essere salvata.
* @return string il nome del file
return PEAR_raiseError("Unimplemented abstract method called!");
* Versione statica del metodo precedente: ritorna il nome del
* file in cui questa pagina deve essere salvata.
* @return string il nome del file
return PEAR_raiseError("Unimplemented abstract method called!");
|