PHP Class TwbBundle\Form\View\Helper\TwbBundleForm

Inheritance: extends Zend\Form\View\Helper\Form
Afficher le fichier Open project: neilime/zf2-twb-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$formLayout string Form layout (see LAYOUT_* consts)

Méthodes publiques

Méthode Description
__invoke ( Zend\Form\FormInterface $oForm = null, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : TwbBundleForm | string
openTag ( Zend\Form\FormInterface $form = null ) : string Generate an opening form tag
render ( Zend\Form\FormInterface $oForm, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : string Render a form from the provided $oForm,

Méthodes protégées

Méthode Description
renderElements ( Zend\Form\FormInterface $oForm, string | null $sFormLayout = self::LAYOUT_HORIZONTAL ) : string
setFormClass ( Zend\Form\FormInterface $oForm, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : TwbBundleForm Sets form layout class

Method Details

__invoke() public méthode

See also: Form::__invoke()
public __invoke ( Zend\Form\FormInterface $oForm = null, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : TwbBundleForm | string
$oForm Zend\Form\FormInterface
$sFormLayout string
Résultat TwbBundleForm | string

openTag() public méthode

Generate an opening form tag
public openTag ( Zend\Form\FormInterface $form = null ) : string
$form Zend\Form\FormInterface
Résultat string

render() public méthode

Render a form from the provided $oForm,
See also: Form::render()
public render ( Zend\Form\FormInterface $oForm, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : string
$oForm Zend\Form\FormInterface
$sFormLayout string
Résultat string

renderElements() protected méthode

protected renderElements ( Zend\Form\FormInterface $oForm, string | null $sFormLayout = self::LAYOUT_HORIZONTAL ) : string
$oForm Zend\Form\FormInterface
$sFormLayout string | null
Résultat string

setFormClass() protected méthode

Sets form layout class
protected setFormClass ( Zend\Form\FormInterface $oForm, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : TwbBundleForm
$oForm Zend\Form\FormInterface
$sFormLayout string
Résultat TwbBundleForm

Property Details

$formLayout protected_oe property

Form layout (see LAYOUT_* consts)
protected string $formLayout
Résultat string