Class CC_Field
- CC_HTMLElement
- CC_Field
Direct known subclasses
CC_CCLI_Button
,
CC_Checkbox
,
CC_FileUpload
,
CC_HiddenField
,
CC_TextArea
,
CC_TextField
Indirect 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 = '' )
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
string
|
#
helpText( string $class = 'help-block', boolean $onErrorOnly = false )
get error help text TODO: not yet finished (different error and/or standard help if any?) |
protected
string
|
|
protected
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
string
|
|
protected
string
|
Methods inherited from CC_HTMLElement
__toString()
,
getBootstrapClasses()
,
getClass()
,
getForm()
,
getName()
,
getValue()
,
setForm()
,
setName()
,
wrapInput()
,
wrapRow()
Properties summary
protected
string
|
$fieldType
|
#
""
|
protected
|
$label
|
|
protected
|
$error
|
#
null
|
protected
|
$hint
|
#
null
|