Overview
  • Package
  • Class

Packages

  • CT-API
  • CT-ChurchAuth
  • CT-ChurchCal
  • CT-ChurchCheckin
  • CT-ChurchCore
  • CT-ChurchDB
  • CT-ChurchFinance
  • CT-ChurchHome
  • CT-ChurchReport
  • CT-ChurchResource
  • CT-ChurchService
  • CT-ChurchTranslate
  • CT-ChurchWiki
  • CT-DB
  • CT-Form

Classes

  • CC_Button
  • CC_CCLI_Button
  • CC_Checkbox
  • CC_ColorField
  • CC_EmailField
  • CC_Field
  • CC_FileUpload
  • CC_HiddenField
  • CC_HTMLElement
  • CC_NumberField
  • CC_PasswordField
  • CC_TelefonField
  • CC_TextArea
  • CC_TextField
  • CC_UrlField
  • CTForm
  • CTModuleForm

Class CC_EmailField

CC_HTMLElement
Extended by CC_Field
Extended by CC_TextField
Extended by CC_EmailField
Package: CT-Form
Author: rr
See: CC_TextField
See: CC_Field
Located at system/churchcore/classes/CTForm.class.php

Methods summary

public
# __construct( string $name, string $label, string $required = false, string $fieldWidth = false, string $class = '', string $autofocus = false, string $append = false )

Parameters

$name
$label
$required
$fieldWidth
= false, allowed values: xs, sm, md, lg, false
$class
= ''
$autofocus
= false
$append
= '', text to append to field, f.e. unit for numbers

Overrides

CC_TextField::__construct
public
# isValid( )

Overrides

CC_TextField::isValid
public string
# render( $type = 'email' )

render field

render field

Parameters

$type
needed, only for strict standard

Returns

string
html

See

CC_TextField::render()

Overrides

CC_TextField::render

Methods inherited from CC_TextField

addAppend(), setAppend()

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

Properties inherited from CC_TextField

$append, $autocomplete

Properties inherited from CC_Field

$error, $fieldType, $hint, $label

Properties inherited from CC_HTMLElement

$class, $form, $name, $value, $widthClasses

API documentation generated by ApiGen