MIOLO26
|
Membros públicos | |
__construct ($field, $label='', $type='required', $msgerr='', $minStrength=self::STRENGTH_MEDIUM) | |
setMinStrength ($minStrength) | |
getMinStrength ($minStrength) | |
getStrengthLabel ($strength) | |
getStrengthDescription ($strength) | |
validate ($passwd) | |
Membros públicos herdados de MValidator | |
__construct () | |
getError () | |
generate () | |
Membros públicos herdados de MFormControl | |
setValue ( $value) | |
getValue () | |
setSubmittedValue () | |
setLabel ( $label) | |
generateLabel () | |
setFormMode ( $mode) | |
setReadOnly ( $status) | |
setPlaceholder ( $placeholder) | |
Membros públicos herdados de MControl | |
__construct ( $name=NULL) | |
setName ($name) | |
setId ($id) | |
getId () | |
getName () | |
getUniqueId () | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setClass ($cssClass, $add=TRUE) | |
insertClass ( $cssClass) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
getBoxStyle () | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
getBox () | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
generateBox ( $content) | |
addAttribute ( $name, $value='') | |
setAttribute ( $name, $value) | |
getAttribute ( $name) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setEnabled ($state) | |
setJsHint ( $hint) | |
setHint ( $hint) | |
setCaption ($caption) | |
setHTMLTitle ($title) | |
addBoxStyle ($name, $value) | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
addEvent ($event, $handler, $preventDefault=true) | |
hasEvent ($event) | |
generateEvent () | |
setContent ($inner) | |
setInner ($inner) | |
getInner () | |
getRender ( $method) | |
getInnerToString () | |
getCSSP () | |
generateInner () | |
__toString () | |
Membros públicos herdados de MComponent | |
getManager () | |
Outros membros herdados | |
Membros públicos estáticos herdados de MValidator | |
static | generateValidators ($validators) |
static | generateJSValidators ($validators) |
static | ifProcess ($command) |
Atributos Públicos Estáticos herdados de MControl | |
static | $_number = 0 |
Membros protegidos herdados de MFormControl | |
generateLabelMode ($label) | |
Membros protegidos herdados de MControl | |
_addStyle ($name, $value) | |
Atributos Protegidos herdados de MValidator | |
$error = NULL | |
Password strength validator. Based on Steve Moitozo [god@z.nosp@m.illa.nosp@m..us] JavaScript validator.
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2011 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
__construct | ( | $field, | |
$label = '', | |||
$type = 'required', | |||
$msgerr = '', | |||
$minStrength = self::STRENGTH_MEDIUM ) |
Reimplementado de MFormControl.
getMinStrength | ( | $minStrength | ) |
getStrengthDescription | ( | $strength | ) |
Get the strength label inside a html b tag, with different colors.
integer | $strength | Strength code. |
getStrengthLabel | ( | $strength | ) |
Get the strength label.
integer | $strength | Strength code. |
setMinStrength | ( | $minStrength | ) |
Set the minimum strength the password must have.
integer | $minStrength | Use STRENGTH_* constants. |
validate | ( | $passwd | ) |
Validate value according to validator rules.
mixed | $value | Field value. |
Reimplementado de MValidator.
const STRENGTH_MEDIUM = 3 |
const STRENGTH_STRONG = 4 |
const STRENGTH_VERY_STRONG = 5 |
const STRENGTH_VERY_WEAK = 1 |
const STRENGTH_WEAK = 2 |