ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilLMLayout.php
Go to the documentation of this file.
1 <?php
2 /*
3  +-----------------------------------------------------------------------------+
4  | ILIAS open source |
5  +-----------------------------------------------------------------------------+
6  | Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7  | |
8  | This program is free software; you can redistribute it and/or |
9  | modify it under the terms of the GNU General Public License |
10  | as published by the Free Software Foundation; either version 2 |
11  | of the License, or (at your option) any later version. |
12  | |
13  | This program is distributed in the hope that it will be useful, |
14  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16  | GNU General Public License for more details. |
17  | |
18  | You should have received a copy of the GNU General Public License |
19  | along with this program; if not, write to the Free Software |
20  | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21  +-----------------------------------------------------------------------------+
22 */
23 
35 {
36  var $ilias;
39  var $css_url;
43  var $width;
44  var $height;
45 
50  function ilLMLayout()
51  {
52  global $ilias;
53 
54  $this->ilias =& $ilias;
55  }
56 
62  function setKeepWithPrevious ($a_keep)
63  {
64  $this->keep_with_previous = $a_keep;
65  }
66 
67 
71  function getKeepWithPrevious ()
72  {
74  }
75 
76 
82  function setKeepWithNext ($a_keep)
83  {
84  $this->keep_with_next = $a_keep;
85  }
86 
87 
91  function getKeepWithNext ()
92  {
93  return $this->keep_with_next;
94  }
95 
96 
102  function setCssUrl ($a_url)
103  {
104  $this->css_url = $a_url;
105  }
106 
107 
111  function getCssUrl ()
112  {
113  return $this->css_url;
114  }
115 
121  function setHorizontalAlign ($a_align)
122  {
123  $this->hor_align = $a_align;
124  }
125 
129  function getHorizontalAlign ()
130  {
131  return $this->hor_align;
132  }
133 
139  function setVerticalAlign ($a_align)
140  {
141  $this->ver_align = $a_align;
142  }
143 
147  function getVerticalAlign ()
148  {
149  return $this->ver_align;
150  }
151 
152 
158  function setTargetFrame ($a_frame)
159  {
160  $this->target_frame = $a_frame;
161  }
162 
166  function getTargetFrame ()
167  {
168  return $this->target_frame;
169  }
170 
176  function setWidth ($a_width)
177  {
178  $this->width = $a_width;
179  }
180 
184  function getWidth ()
185  {
186  return $this->width;
187  }
188 
194  function setHeight ($a_height)
195  {
196  $this->height = $a_height;
197  }
198 
202  function getHeight ()
203  {
204  return $this->height;
205  }
206 
207 }
208 ?>