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 CTModuleForm

CTModuleForm (child of CTForm)

CTForm
Extended by CTModuleForm
Package: CT-Form
Located at system/churchcore/classes/CTModuleForm.class.php

Methods summary

public
# __construct( string $modulename )

Constructor labelWidth and fieldWidth are column widths for bootstraps 12 column grid maybe a number (used for md) or an array ('sm' => '6:6', 'md' => '5:7', 'lg' => '4:6') values without : are used for labels, fieldwidth will be calculated

Constructor labelWidth and fieldWidth are column widths for bootstraps 12 column grid maybe a number (used for md) or an array ('sm' => '6:6', 'md' => '5:7', 'lg' => '4:6') values without : are used for labels, fieldwidth will be calculated

Parameters

$modulename
$name

Overrides

CTForm::__construct
public string
# render( string $horizontal = false, string $withHtmlEncoding = true )

render form

render form

Parameters

$horizontal
$withHtmlEncoding = true
$withHtmlEncoding
$horizontal = false

Returns

string
html content of form

Overrides

CTForm::render

Methods inherited from CTForm

addButton(), addField(), getBootstrapClasses(), getFieldOffsetClasses(), getFieldWidthClasses(), getFieldWidthWithOffsetClasses(), getLabelWidthClasses(), getName(), setHeader(), setPreventDoubleSubmission(), setValidator()

Properties summary

Properties inherited from CTForm

$fields, $widthClasses

API documentation generated by ApiGen