Class Password

Password

public class Password

A class to be used in class ControlGroup it will create a password field.


Constructor Summary
Password(var $name, var $value, var $size, var $maxLength, var $extra)
          Constructor of the class Password.
 
Method Summary
 string GetCellAttributes()
          Method to get the cell attributes.
 string GetClass()
          Method to get the Class.
 integer GetColSpan()
          Method to get the colspan.
 string GetCSS()
          Method to get the CSS.
 string GetName()
          Method to get the name of the password field.
 string GetString()
          Method to get the html code of the class.
 string GetValue(var $value)
          Method to get the value of the password field.
 bool IsHidden()
          Method to check if the object is a hidden element.
 bool IsNewLine()
          Method to check if the object should be placed to a new line.
 bool IsObjectAnArray()
          Method to check if the object is an array of objects.
 void SetCellAttributes(var $cellAttr)
          Method to set the cell attributes for CSS.
 void SetClass(var $class)
          Method to set the class.
 void SetColSpan(var $colspan)
          Method to set the colspan.
 void SetCSS(var $css)
          Method to set the CSS.
 void SetName(var $name)
          Method to set the name of the password field.
 void SetNewLine(var $value)
          Method to set to put the object to a new line.
 void SetValue(var $value)
          Method to set the value of the password field.
 

Constructor Detail

Password

public Password(var $name,
                var $value,
                var $size,
                var $maxLength,
                var $extra)
Constructor of the class Password.
Parameters:
$value - Default Value: ""
$size - Default Value: 15
$maxLength - Default Value: 15
$extra - Default Value: ""
Method Detail

SetName

public void SetName(var $name)
Method to set the name of the password field.

GetName

public string GetName()
Method to get the name of the password field.

SetValue

public void SetValue(var $value)
Method to set the value of the password field.

GetValue

public string GetValue(var $value)
Method to get the value of the password field.

SetCellAttributes

public void SetCellAttributes(var $cellAttr)
Method to set the cell attributes for CSS.

GetCellAttributes

public string GetCellAttributes()
Method to get the cell attributes.

SetCSS

public void SetCSS(var $css)
Method to set the CSS.

GetCSS

public string GetCSS()
Method to get the CSS.

SetClass

public void SetClass(var $class)
Method to set the class.

GetClass

public string GetClass()
Method to get the Class.

SetColSpan

public void SetColSpan(var $colspan)
Method to set the colspan.

GetColSpan

public integer GetColSpan()
Method to get the colspan.

GetString

public string GetString()
Method to get the html code of the class.

SetNewLine

public void SetNewLine(var $value)
Method to set to put the object to a new line.
Parameters:
$value - Default Value: TRUE

IsNewLine

public bool IsNewLine()
Method to check if the object should be placed to a new line.

IsHidden

public bool IsHidden()
Method to check if the object is a hidden element.

IsObjectAnArray

public bool IsObjectAnArray()
Method to check if the object is an array of objects.