src/UI/HTML/Elements.php
public static function Image( $url, $title, $class = "", $width = NULL, $height = NULL )
	{
		$attributes	= array(
			'src'		=> $url,
			'class'		=> $class		? $class : NULL,
			'width'		=> $width		? $width : NULL,
			'height'	=> $height		? $height : NULL,
			'alt'		=> $title		? $title : NULL,
			'title'		=> $title		? $title : NULL,
			'hspace'	=> 0,
			'vspace'	=> 0,
		);
		$code	= UI_HTML_Tag::create( "img", NULL, $attributes );
		return $code;
	}
public static function Image( $url, $title, $class = "", $width = NULL, $height = NULL )
	{
		$attributes	= array(
			'src'		=> $url,
			'class'		=> $class		? $class : NULL,
			'width'		=> $width		? $width : NULL,
			'height'	=> $height		? $height : NULL,
			'alt'		=> $title		? $title : NULL,
			'title'		=> $title		? $title : NULL,
			'hspace'	=> 0,
			'vspace'	=> 0,
		);
		$code	= UI_HTML_Tag::create( "img", NULL, $attributes );
		return $code;
	}
public static function Image ( $ url , $ title , $ class = "" , $ width = NULL , $ height = NULL ) { $ attributes = array ( 'src' => $ url , 'class' => $ class ? $ class : NULL , 'width' => $ width ? $ width : NULL , 'height' => $ height ? $ height : NULL , 'alt' => $ title ? $ title : NULL , 'title' => $ title ? $ title : NULL , 'hspace' => 0 , 'vspace' => 0 , ) ; $ code = UI_HTML_Tag :: create ( "img" , NULL , $ attributes ) ; return $ code ; }
Erzeugt HTML-Code einer Grafik.
@access		public
@static
@param		string		$url				URL der Grafik
@param		string		$title			Alternativ-Text
@param		string		$class			CSS-Klasse des Eingabefeldes
@return		string
Erzeugt HTML - Code einer Grafik .