00001 <?php 00002 /* 00003 +-----------------------------------------------------------------------------+ 00004 | ILIAS open source | 00005 +-----------------------------------------------------------------------------+ 00006 | Copyright (c) 1998-2001 ILIAS open source, University of Cologne | 00007 | | 00008 | This program is free software; you can redistribute it and/or | 00009 | modify it under the terms of the GNU General Public License | 00010 | as published by the Free Software Foundation; either version 2 | 00011 | of the License, or (at your option) any later version. | 00012 | | 00013 | This program is distributed in the hope that it will be useful, | 00014 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 00015 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 00016 | GNU General Public License for more details. | 00017 | | 00018 | You should have received a copy of the GNU General Public License | 00019 | along with this program; if not, write to the Free Software | 00020 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 00021 +-----------------------------------------------------------------------------+ 00022 */ 00023 00034 class ilLMLayout 00035 { 00036 var $ilias; 00037 var $keep_with_previous; 00038 var $keep_with_next; 00039 var $css_url; 00040 var $ver_align; 00041 var $hor_align 00042 var $target_frame; 00043 var $width; 00044 var $height; 00045 00050 function ilLMLayout() 00051 { 00052 global $ilias; 00053 00054 $this->ilias =& $ilias; 00055 } 00056 00062 function setKeepWithPrevious ($a_keep) 00063 { 00064 $this->keep_with_previous = $a_keep; 00065 } 00066 00067 00071 function getKeepWithPrevious () 00072 { 00073 return $this->keep_with_previous; 00074 } 00075 00076 00082 function setKeepWithNext ($a_keep) 00083 { 00084 $this->keep_with_next = $a_keep; 00085 } 00086 00087 00091 function getKeepWithNext () 00092 { 00093 return $this->keep_with_next; 00094 } 00095 00096 00102 function setCssUrl ($a_url) 00103 { 00104 $this->css_url = $a_url; 00105 } 00106 00107 00111 function getCssUrl () 00112 { 00113 return $this->css_url; 00114 } 00115 00121 function setHorizontalAlign ($a_align) 00122 { 00123 $this->hor_align = $a_align; 00124 } 00125 00129 function getHorizontalAlign () 00130 { 00131 return $this->hor_align; 00132 } 00133 00139 function setVerticalAlign ($a_align) 00140 { 00141 $this->ver_align = $a_align; 00142 } 00143 00147 function getVerticalAlign () 00148 { 00149 return $this->ver_align; 00150 } 00151 00152 00158 function setTargetFrame ($a_frame) 00159 { 00160 $this->target_frame = $a_frame; 00161 } 00162 00166 function getTargetFrame () 00167 { 00168 return $this->target_frame; 00169 } 00170 00176 function setWidth ($a_width) 00177 { 00178 $this->width = $a_width; 00179 } 00180 00184 function getWidth () 00185 { 00186 return $this->width; 00187 } 00188 00194 function setHeight ($a_height) 00195 { 00196 $this->height = $a_height; 00197 } 00198 00202 function getHeight () 00203 { 00204 return $this->height; 00205 } 00206 00207 } 00208 ?>