Class CC_TextField
- CC_HTMLElement
- CC_Field
- CC_TextField
Direct known subclasses
CC_ColorField
,
CC_EmailField
,
CC_NumberField
,
CC_PasswordField
,
CC_TelefonField
,
CC_UrlField
Methods summary
public
|
#
__construct( string $name, string $label, string $required = false, string $fieldWidth = false, string $class = '', string $autofocus = false, string $append = '', $autocomplete = '' )
|
public
|
|
protected
|
|
protected
string
|
|
public
string
|
Methods inherited from CC_Field
formLabel()
,
getError()
,
getFieldId()
,
getFieldName()
,
getFieldType()
,
getLabel()
,
hasError()
,
hasHint()
,
helpText()
,
helpTextOnError()
,
isRequired()
,
setError()
,
setHint()
,
setValue()
Methods inherited from CC_HTMLElement
__toString()
,
getBootstrapClasses()
,
getClass()
,
getForm()
,
getName()
,
getValue()
,
setForm()
,
setName()
,
wrapInput()
,
wrapRow()
Properties summary
protected
string
|
$append
text to append to field, f.e. unit for numbers |
#
''
|
protected
string
|
$autocomplete
|
#
''
|