1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
5 -------------------------------------------------------------------------------
6 This file is part of meconlib.
8 meconlib is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2 of the License, or (at your option)
13 meconlib is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License; if not,
18 write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 Boston, MA 02111-1307 USA
20 -------------------------------------------------------------------------------
21 Creado: Mon Apr 14 16:23:22 2003
22 Autor: Martin Marrese <mmarre@mecon.gov.ar>
23 -------------------------------------------------------------------------------
25 -----------------------------------------------------------------------------*/
27 // +X2C Class 13 :MECON_Marco_Titulo
29 * Clase para el manejo del titulo de los sistemas.
31 * @package MECON_Marco
34 class MECON_Marco_Titulo {
36 * Array con los datos de configuracion del sistema.
47 * Constructor. Recibe como parametro el titulo del sistema.
49 * @param string $titulo Titulo del sistema
54 function Titulo($titulo) // ~X2C
56 $this->_titulo = $titulo;
62 * Funcion que devuelve un string con el html a imprimir en pantalla.
67 function toHtml() // ~X2C
69 $TEXTO = "\n".'<title>'.$this->_titulo.'</title>'."\n";
76 * Funcion que devuelve el titulo del sistema.
81 function darTitulo() // ~X2C
83 return $this->_titulo;
87 } // -X2C Class :MECON_Marco_Titulo