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 require_once 'PEAR.php';
30 // +X2C Class 9 :MECON_Marco_Copete
32 * Manejo del copete de los sistemas que utilizan MECON_Marco
34 * @package MECON_Marco
37 class MECON_Marco_Copete {
39 * Nombre del directorio en donde se encuentra el sistema. Es case sensitive.
41 * @var string $directorio
44 var $_directorio = '';
50 * Recibe el nombre del directorio en donde se encuentra instalado el sistema. El directorio es case sensitive.
52 * @param string $directorio Nombre del directorio en donde se encuentra el sistema.
57 function MECON_Marco_Copete($directorio) // ~X2C
59 $this->_directorio = $directorio;
65 * Funcion que devuelve el string html a imprimir en pantalla.
70 function toHtml() // ~X2C
72 if (!is_null($this->_directorio)) {
73 return '<img src="'.$this->_directorio.'/copete" alt="">';
82 } // -X2C Class :MECON_Marco_Copete