PHP Class TwbBundle\Form\View\Helper\TwbBundleFormRow

Inheritance: extends Zend\Form\View\Helper\FormRow
Datei anzeigen Open project: neilime/zf2-twb-bundle

Protected Properties

Property Type Description
$checkboxFormat string
$formGroupFormat string
$helpBlockFormat string
$horizontalLayoutFormat string
$inputErrorClass string The class that is added to element that have errors
$requiredFormat string

Public Methods

Method Description
getRowClassFromElement ( Zend\Form\ElementInterface $oElement ) : string
render ( Zend\Form\ElementInterface $oElement, $sLabelPosition = null ) : string
renderElementFormGroup ( string $sElementContent, string $sRowClass ) : string

Protected Methods

Method Description
renderElement ( Zend\Form\ElementInterface $oElement, string $sLabelPosition = null ) : type Render element
renderHelpBlock ( Zend\Form\ElementInterface $oElement ) : string Render element's help block
renderLabel ( Zend\Form\ElementInterface $oElement ) : string Render element's label

Method Details

getRowClassFromElement() public method

public getRowClassFromElement ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
return string

render() public method

See also: FormRow::render()
public render ( Zend\Form\ElementInterface $oElement, $sLabelPosition = null ) : string
$oElement Zend\Form\ElementInterface
return string

renderElement() protected method

Render element
protected renderElement ( Zend\Form\ElementInterface $oElement, string $sLabelPosition = null ) : type
$oElement Zend\Form\ElementInterface
$sLabelPosition string
return type

renderElementFormGroup() public method

public renderElementFormGroup ( string $sElementContent, string $sRowClass ) : string
$sElementContent string
$sRowClass string
return string

renderHelpBlock() protected method

Render element's help block
protected renderHelpBlock ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
return string

renderLabel() protected method

Render element's label
protected renderLabel ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
return string

Property Details

$checkboxFormat protected_oe static_oe property

protected static string $checkboxFormat
return string

$formGroupFormat protected_oe static_oe property

protected static string $formGroupFormat
return string

$helpBlockFormat protected_oe static_oe property

protected static string $helpBlockFormat
return string

$horizontalLayoutFormat protected_oe static_oe property

protected static string $horizontalLayoutFormat
return string

$inputErrorClass protected_oe property

The class that is added to element that have errors
protected string $inputErrorClass
return string

$requiredFormat protected_oe property

protected string $requiredFormat
return string