MCMS
[ class tree: MCMS ] [ index: MCMS ] [ all elements ]

Source for file AdminPage.php

Documentation is available at AdminPage.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. // +----------------------------------------------------------------------+
  4. // | MCMS: a PHP Content Management System for creating accessible sites. |
  5. // | Copyright (C) 2005  Silvio Moioli                                    |
  6. // |                                                                      |
  7. // | This program is free software; you can redistribute it and/or modify |
  8. // | it under the terms of the GNU General Public License as published by |
  9. // | the Free Software Foundation; either version 2 of the License, or    |
  10. // | (at your option) any later version.                                  |
  11. // |                                                                      |
  12. // | This program is distributed in the hope that it will be useful,      |
  13. // | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  14. // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  15. // | GNU General Public License for more details.                         |
  16. // |                                                                      |
  17. // | You should have received a copy of the GNU General Public License    |
  18. // | along with this program; if not, write to the Free Software          |
  19. // | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 |
  20. // +----------------------------------------------------------------------+
  21. // | Authors: Silvio Moioli <silvio at moioli dot net> www.moioli.net     |
  22. // +----------------------------------------------------------------------+
  23. //
  24. //$Id:
  25.  
  26. require_once $_SERVER["DOCUMENT_ROOT"]."/admin/include/smarty/libs/Smarty.class.php";
  27. require_once $_SERVER["DOCUMENT_ROOT"]."/admin/include/fckeditor/fckeditor.php";
  28. require_once $_SERVER["DOCUMENT_ROOT"]."/admin/lib/view/Compilable.php";
  29. require_once $_SERVER["DOCUMENT_ROOT"]."/admin/lib/view/Tagger.php";
  30.  
  31. /**
  32.  * Classe astratta che rappresenta una pagina di configurazione del sistema.
  33.  *
  34.  */
  35. /*abstract*/ class AdminPage extends Compilable
  36. {
  37.     /**
  38.      * Costruttore di default
  39.      *
  40.      */
  41.     function AdminPage()
  42.     {
  43.         parent::Compilable();
  44.     }
  45.     
  46.     /**
  47.      * Le pagine di configurazione non hanno descrizione (per ora),
  48.      * ritorna una stringa vuota.
  49.      *
  50.      * @return string una stringa vuota
  51.      */
  52.     function getDescription()
  53.     {
  54.         return "";
  55.     }
  56.     
  57.     /**
  58.      * Le pagine di configurazione non hanno parole chiave (in quanto non devono
  59.      * essere indicizzate), ritorna una stringa vuota.
  60.      *
  61.      * @return string una stringa vuota
  62.      */
  63.     function getKeywords()
  64.     {
  65.         return "";
  66.     }
  67.     
  68.     /**
  69.      * Le pagine di configurazione usano un template unico.
  70.      *
  71.      * @return string il nome del file del template
  72.      */
  73.     function getTemplate()
  74.     {
  75.         return "adminTemplate.tpl";
  76.     }
  77.     
  78.     /**
  79.      * Le pagine di configurazione non utilizzano plugin (al momento).
  80.      *
  81.      * @return un array vuoto
  82.      * @see Compilable
  83.      */
  84.     function getComponents()
  85.     {
  86.         return array();
  87.     }
  88. }
  89. ?>

Documentation generated on Wed, 26 Jul 2006 21:44:46 +0200 by phpDocumentor 1.3.0RC6