2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +----------------------------------------------------------------------+
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997-2003 The PHP Group |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.02 of the PHP license, |
9 // | that is bundled with this package in the file LICENSE, and is |
10 // | available at through the world-wide-web at |
11 // | http://www.php.net/license/2_02.txt. |
12 // | If you did not receive a copy of the PHP license and are unable to |
13 // | obtain it through the world-wide-web, please send a note to |
14 // | license@php.net so we can mail you a copy immediately. |
15 // +----------------------------------------------------------------------+
16 // | Created: Mon Apr 14 16:23:22 2003
17 // | Author: Martin Marrese <mmarre@mecon.gov.ar>
18 // +----------------------------------------------------------------------+
27 require_once 'PEAR.php';
29 // +X2C Class 13 :Titulo
31 * Clase para el manejo del titulo de los sistemas.
37 * Array con los datos de configuracion del sistema.
39 * @var array $configuracion
49 * Constructor. Recibe como parametro el array de configuracion del sistema.
51 * @param array $configuracion
57 function Titulo($configuracion) // ~X2C
59 $this->_configuracion = $configuracion;
65 * Funcion que devuelve un string con el html a imprimir en pantalla.
71 function toHtml() // ~X2C
73 $TEXTO = "\n".'<title>'.$this->_configuracion['titulo_sistema'].'</title>'."\n";
78 } // -X2C Class :Titulo