PHP 클래스 TwbBundle\Form\View\Helper\TwbBundleForm

상속: extends Zend\Form\View\Helper\Form
파일 보기 프로젝트 열기: neilime/zf2-twb-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$formLayout string Form layout (see LAYOUT_* consts)

공개 메소드들

메소드 설명
__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,

보호된 메소드들

메소드 설명
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

메소드 상세

__invoke() 공개 메소드

또한 보기: Form::__invoke()
public __invoke ( Zend\Form\FormInterface $oForm = null, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : TwbBundleForm | string
$oForm Zend\Form\FormInterface
$sFormLayout string
리턴 TwbBundleForm | string

openTag() 공개 메소드

Generate an opening form tag
public openTag ( Zend\Form\FormInterface $form = null ) : string
$form Zend\Form\FormInterface
리턴 string

render() 공개 메소드

Render a form from the provided $oForm,
또한 보기: Form::render()
public render ( Zend\Form\FormInterface $oForm, string $sFormLayout = self::LAYOUT_HORIZONTAL ) : string
$oForm Zend\Form\FormInterface
$sFormLayout string
리턴 string

renderElements() 보호된 메소드

protected renderElements ( Zend\Form\FormInterface $oForm, string | null $sFormLayout = self::LAYOUT_HORIZONTAL ) : string
$oForm Zend\Form\FormInterface
$sFormLayout string | null
리턴 string

setFormClass() 보호된 메소드

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

프로퍼티 상세

$formLayout 보호되어 있는 프로퍼티

Form layout (see LAYOUT_* consts)
protected string $formLayout
리턴 string