Form/Field/Checkbox.php

Classes 
package
Form
Classes
Kwf_Form_Field_Checkbox

Description

\Kwf_Form_Field_Checkbox

Extends from
\Kwf_Form_Field_SimpleAbstract
package
Form
Methods
__construct
_addValidators
_getTrlProperties
getTemplateVars
processInput
setBoxLabel
setErrorText

Description

Base class for form fields that represent a textual value

Methods

__construct

__construct(  $field_name = null,  $field_label = null ) :

Zeigt mehrere Checkboxes an und speichert diese in einer Relationstabelle

Arguments
$field_name
$field_label
Details
visibility
public
final
false
static
false

_addValidators

_addValidators( ) :

Add validators to the field here, called in prepareSave

Details
visibility
protected
final
false
static
false

_getTrlProperties

_getTrlProperties( ) :
Details
visibility
protected
final
false
static
false

getTemplateVars

getTemplateVars(  $values,  $fieldNamePostfix,  $idPrefix ) :
Arguments
$values
$fieldNamePostfix
$idPrefix
Details
visibility
public
final
false
static
false

processInput

processInput(  $row,  $postData ) :
Arguments
$row
$postData
Details
visibility
public
final
false
static
false

setBoxLabel

setBoxLabel(  $value ) : \Kwf_Form_Field_Checkbox

The text that appears beside the checkbox (defaults to '')

Arguments
$value
string
Details
visibility
public
final
false
static
false
fluent
This method is part of a fluent interface and will return the same instance

setErrorText

setErrorText( ) :

Details
visibility
public
final
false
static
false
deprecated
Documentation was generated by DocBlox 0.12.3.