src/UI/HTML/FormElements.php
public static function Label( $id, $label, $class = NULL )
	{
		$attributes	= array(
			'for'		=> $id,
			'class'		=> $class ? $class : NULL,
		);
		return UI_HTML_Tag::create( "label", $label, $attributes );
	}
public static function Label( $id, $label, $class = NULL )
	{
		$attributes	= array(
			'for'		=> $id,
			'class'		=> $class ? $class : NULL,
		);
		return UI_HTML_Tag::create( "label", $label, $attributes );
	}
public static function Label ( $ id , $ label , $ class = NULL ) { $ attributes = array ( 'for' => $ id , 'class' => $ class ? $ class : NULL , ) ; return UI_HTML_Tag :: create ( "label" , $ label , $ attributes ) ; }
Builds HTML Code for a Field Label.
@access		public
@static
@param		string		$id				ID of Field to reference
@param		string		$label			Label Text
@param		string		$class			CSS Class
@return		string
Builds HTML Code for a Field Label .