]> git.llucax.com Git - mecon/intranet.git/blob - sistema/local_lib/HTML_DietMarco.php
a0ec4615989078104a346beec283b9309396dd22
[mecon/intranet.git] / sistema / local_lib / HTML_DietMarco.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // |                      Ministerio de Economía                        |
5 // |                             Intranet                              |
6 // +--------------------------------------------------------------------+
7 // | This file is part of Intranet.                                    |
8 // |                                                                    |
9 // | Intranet is free software; you can redistribute it and/or modify  |
10 // | it under the terms of the GNU General Public License as published  |
11 // | by the Free Software Foundation; either version 2 of the License,  |
12 // | or (at your option) any later version.                             |
13 // |                                                                    |
14 // | Intranet is distributed in the hope that it will be useful, but   |
15 // | WITHOUT ANY WARRANTY; without even the implied warranty of         |
16 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
17 // | General Public License for more details.                           |
18 // |                                                                    |
19 // | You should have received a copy of the GNU General Public License  |
20 // | along with Hooks; if not, write to the Free Software Foundation,   |
21 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
22 // +--------------------------------------------------------------------+
23 // | Creado: Thu Jul 10 15:03:36 2003                                   |
24 // | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
25 // +--------------------------------------------------------------------+
26 //
27 // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
28 //
29
30 require_once 'HTML_Copete.php';
31
32 // +X2C includes
33 require_once 'HTML/Page.php';
34 // ~X2C
35
36 // +X2C Class 154 :HTML_DietMarco
37 /**
38  * @access public
39  */
40 class HTML_DietMarco extends HTML_Page {
41     /**
42      * @var    int $body
43      * @access public
44      */
45     var $body;
46
47     /**
48      * @var    int $title
49      * @access public
50      */
51     var $title;
52
53     /**
54      * @var    int $copete
55      * @access public
56      */
57     var $copete;
58
59     // ~X2C
60
61     // +X2C Operation 155
62     /**
63      * @return void
64      * @access public
65      */
66     function toHTML() // ~X2C
67     {
68         $html =& $this->copete->toHTML();
69         return $html;
70     }
71     // -X2C
72
73     // +X2C Operation 156
74     /**
75      * @param  int $body 
76      *
77      * @return void
78      * @access public
79      */
80     function addBody($body) // ~X2C
81     {
82         $this->body[] = $body
83     }
84     // -X2C
85
86     // +X2C Operation 157
87     /**
88      * @param  int $title 
89      *
90      * @return void
91      * @access public
92      */
93     function addTitle($title) // ~X2C
94     {
95         trigger_error('Not implemented!', E_USER_WARNING);
96     }
97     // -X2C
98
99     // +X2C Operation 158
100     /**
101      * @param  string $seccion 
102      *
103      * @return void
104      * @access public
105      */
106     function HTML_DietMarco($seccion) // ~X2C
107     {
108         $this->title = 'Intranet bla bla..';
109         $this->copete = new HTML_Copete($seccion);
110         $this->body = array();
111     }
112     // -X2C
113
114 } // -X2C Class :HTML_DietMarco
115 ?>