DATA_PREFIX
DATA_PREFIX
Represents an password input field.
__construct(string $name, null $value = null, boolean $showStrength = true, boolean $dependingField = false) : \Fuman_Form_Abstract
Constructor gets min-length and strength-ratio from Fuman_Config.
string | $name | |
null | $value | |
boolean | $showStrength | |
boolean | $dependingField |
setAttribute(string $key, string $value, boolean $appendValue = true, string $appendSpacer = ' ') : void
Sets an attribute. If $appendValue is true, the value is going to be appended with the $appendSpacer argument.
string | $key | |
string | $value | |
boolean | $appendValue | |
string | $appendSpacer |
addCssFile(string $path, string $media = 'all', string|null $packageName = null) : \Fuman_Response_Data
Add a CSS file
string | $path | |
string | $media | |
string|null | $packageName | Used for pack.php |
addJsFile(string $path, integer $javaScriptLoadType, string|null $packageName = null) : \Fuman_Response_Data
Add a Js file
string | $path | |
integer | $javaScriptLoadType | |
string|null | $packageName | Used for pack.php |
setTemplatePath(string $templatePath) : \Fuman_Response_Data
Sets script path
string | $templatePath |
decryptValue(string $name, string $value) : string
Decrypts value.
Value is something like [MD5]:[char] Every char will be MD5 encrypted as salt+char. Characters above ASCII 255 will be passed as hint (chars behind : in value) to build the lookup dictionary.
string | $name | |
string | $value |