1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
4 -------------------------------------------------------------------------------
5 This file is part of mlib.
7 mlib is free software; you can redistribute it and/or modify it under
8 the terms of the GNU Lesser General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your option)
12 mlib is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17 You should have received a copy of the GNU Lesser General Public License; if
18 not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 Boston, MA 02111-1307 USA
20 -------------------------------------------------------------------------------
21 Created: lun ago 2 11:05:12 ART 2004
22 Authors: Martín Marrese <m_marrese@argentina.com>
23 Leandro Lucarella <luca@llucax.hn.org>
24 -------------------------------------------------------------------------------
26 -----------------------------------------------------------------------------*/
28 require_once 'MLIB/Widget/Window.php';
31 * This class accelerates the process of creation of Web sites, creating a
32 * contextual frame where the programmer puts only the _local_ code.
34 * @todo Add a global example using all the methods.
35 * @author Leandro Lucarella <luca@llucax.hn.org>
36 * @author Martín Marrese <m_marrese@argentina.com>
39 class MLIB_Widget_Frame extends MLIB_Widget_Window {
41 //Esta clase es la traduccion de MLIB_Marco.
42 //Esta es la que se utilizaria en los sistemas para agilizar el
47 * For PHP4 backward compatibility.
49 * @copydoc __construct()
52 function MLIB_Widget_Frame($confFile, $permObject = null)
54 $this->__construct($confFile, $permObject);
60 * @param conFile Location of the configuration file.
61 * @param permObject MLIB_Perm or a derived class of it.
63 * @todo Add an example.
65 function __constructor($confFile, $permObject = null)
70 * Converts the widget to a string that is human readable.
72 * @copydoc MLIB_Widget::__toString()
73 * @todo Add an example.
81 //Cuerpo's (si son objetos llamos al metodo __toString y si este no