src/UI/HTML/Elements.php
public static function Table( $content, $class = "filledframe", $width = "100%", $border = 0, $padding = 0, $spacing = 0 )
	{
		$ins_class	= $class ? " class=\"".$class."\"" : "";
		$ins_width	= $width ? " width=\"".$width."\"" : "";
		$ins_border	= $border ? " border=\"".$border."\"" : "";
		$ins_padding	= " cellpadding=\"".$padding."\"";
		$ins_spacing	= " cellspacing=\"".$spacing."\"";
		$code = "<table".$ins_class.$ins_width.$ins_border.$ins_padding.$ins_spacing.">".$content."</table>\n";
		return $code;
	}
public static function Table( $content, $class = "filledframe", $width = "100%", $border = 0, $padding = 0, $spacing = 0 )
	{
		$ins_class	= $class ? " class=\"".$class."\"" : "";
		$ins_width	= $width ? " width=\"".$width."\"" : "";
		$ins_border	= $border ? " border=\"".$border."\"" : "";
		$ins_padding	= " cellpadding=\"".$padding."\"";
		$ins_spacing	= " cellspacing=\"".$spacing."\"";
		$code = "<table".$ins_class.$ins_width.$ins_border.$ins_padding.$ins_spacing.">".$content."</table>\n";
		return $code;
	}
public static function Table ( $ content , $ class = "filledframe" , $ width = "100%" , $ border = 0 , $ padding = 0 , $ spacing = 0 ) { $ ins_class = $ class ? " class=\"" . $ class . "\"" : "" ; $ ins_width = $ width ? " width=\"" . $ width . "\"" : "" ; $ ins_border = $ border ? " border=\"" . $ border . "\"" : "" ; $ ins_padding = " cellpadding=\"" . $ padding . "\"" ; $ ins_spacing = " cellspacing=\"" . $ spacing . "\"" ; $ code = "<table" . $ ins_class . $ ins_width . $ ins_border . $ ins_padding . $ ins_spacing . ">" . $ content . "</table>\n" ; return $ code ; }
Erzeugt HTML-Code einer Tabelle.
@access		public
@static
@param		string		$content			Inhalt der Tabelle
@param		string		$class 			CSS Style Klasse
@param		int			$width			Breite der Tabelle
@param		int			$border			Rahmendicke der Tabelle
@param		int			$padding			Innenabstand der Tabelle
@param		int			$spacing			Zellenabstand
@return		string
Erzeugt HTML - Code einer Tabelle .