src/UI/HTML/FormElements.php
public static function Password( $name, $class = NULL, $readOnly = NULL, $tabIndex = NULL, $maxLength = NULL )
	{
		$attributes	= array(
			'id'		=> $name,
			'type'		=> "password",
			'name'		=> $name,
			'class'		=> $class,
			'tabindex'	=> $tabIndex,
			'maxlength'	=> $maxLength,
		);
		if( $readOnly )
			self::addReadonlyAttributes( $attributes, $readOnly );
		return UI_HTML_Tag::create( "input", NULL, $attributes );
	}
public static function Password( $name, $class = NULL, $readOnly = NULL, $tabIndex = NULL, $maxLength = NULL )
	{
		$attributes	= array(
			'id'		=> $name,
			'type'		=> "password",
			'name'		=> $name,
			'class'		=> $class,
			'tabindex'	=> $tabIndex,
			'maxlength'	=> $maxLength,
		);
		if( $readOnly )
			self::addReadonlyAttributes( $attributes, $readOnly );
		return UI_HTML_Tag::create( "input", NULL, $attributes );
	}
public static function Password ( $ name , $ class = NULL , $ readOnly = NULL , $ tabIndex = NULL , $ maxLength = NULL ) { $ attributes = array ( 'id' => $ name , 'type' => "password" , 'name' => $ name , 'class' => $ class , 'tabindex' => $ tabIndex , 'maxlength' => $ maxLength , ) ; if ( $ readOnly ) self :: addReadonlyAttributes ( $ attributes , $ readOnly ) ; return UI_HTML_Tag :: create ( "input" , NULL , $ attributes ) ; }
Builds HTML Code for a Password Field.
@access		public
@static
@param		string		$name			Field Name
@param		string		$class			CSS Class (xl|l|m|s|xs)
@param		mixed		$readOnly		Field is not writable, JavaScript Alert if String is given
@param		int			$tabIndex		Tabbing Order
@param		int			$maxLength		Maximum Length
@return		string
Builds HTML Code for a Password Field .