Exemple #1
0
 /**
  * Creates a HTML form password input tag.
  *
  * @param   string|array  input name or an array of HTML attributes
  * @param   string        input value, when using a name
  * @param   string        a string to be attached to the end of the attributes
  * @return  string
  */
 public static function password($data, $value = NULL, $extra = '')
 {
     // Add the Bluebox defaults (such as css classes)
     list($data, $value, $extra) = self::_addDefaults(__FUNCTION__, $data, $value, $extra);
     // Call the parent
     $result = parent::password($data, $value, $extra);
     return $result;
 }
 public static function password($data, $value = '', $extra = '')
 {
     $value = self::get_value($data, $value);
     return parent::password($data, $value, $extra);
 }