public function attachDefaultHelper()
    {
        $this->attachHelper('checkbox', new FormHelperChoiceCheckbox());
        $this->attachHelper('radio',    new FormHelperChoiceRadio());
        $this->attachHelper('select',   new FormHelperChoiceSelect());
        $this->attachHelper('error',    new FormHelperFieldError());
        $this->attachHelper('hidden',   new FormHelperFieldHidden());
        $this->attachHelper('id',       new FormHelperFieldId());
        $this->attachHelper('label',    new FormHelperFieldLabel());
        $this->attachHelper('name',     new FormHelperFieldName());
        $this->attachHelper('password', new FormHelperFieldPassword());
        $this->attachHelper('text',     new FormHelperFieldText());
        $this->attachHelper('textarea', new FormHelperFieldTextarea());
        $this->attachHelper('value',    new FormHelperFieldValue());
        $this->attachHelper('radio',    new FormHelperOptionRadio());
        $this->attachHelper('errors',   new FormHelperTagErrors());
        $this->attachHelper('reset',    new FormHelperTagReset());
        $this->attachHelper('submit',   new FormHelperTagSubmit());
    }
public function attachDefaultHelper()
    {
        $this->attachHelper('checkbox', new FormHelperChoiceCheckbox());
        $this->attachHelper('radio',    new FormHelperChoiceRadio());
        $this->attachHelper('select',   new FormHelperChoiceSelect());
        $this->attachHelper('error',    new FormHelperFieldError());
        $this->attachHelper('hidden',   new FormHelperFieldHidden());
        $this->attachHelper('id',       new FormHelperFieldId());
        $this->attachHelper('label',    new FormHelperFieldLabel());
        $this->attachHelper('name',     new FormHelperFieldName());
        $this->attachHelper('password', new FormHelperFieldPassword());
        $this->attachHelper('text',     new FormHelperFieldText());
        $this->attachHelper('textarea', new FormHelperFieldTextarea());
        $this->attachHelper('value',    new FormHelperFieldValue());
        $this->attachHelper('radio',    new FormHelperOptionRadio());
        $this->attachHelper('errors',   new FormHelperTagErrors());
        $this->attachHelper('reset',    new FormHelperTagReset());
        $this->attachHelper('submit',   new FormHelperTagSubmit());
    }
public function attachDefaultHelper ( ) { $ this -> attachHelper ( 'checkbox' , new FormHelperChoiceCheckbox ( ) ) ; $ this -> attachHelper ( 'radio' , new FormHelperChoiceRadio ( ) ) ; $ this -> attachHelper ( 'select' , new FormHelperChoiceSelect ( ) ) ; $ this -> attachHelper ( 'error' , new FormHelperFieldError ( ) ) ; $ this -> attachHelper ( 'hidden' , new FormHelperFieldHidden ( ) ) ; $ this -> attachHelper ( 'id' , new FormHelperFieldId ( ) ) ; $ this -> attachHelper ( 'label' , new FormHelperFieldLabel ( ) ) ; $ this -> attachHelper ( 'name' , new FormHelperFieldName ( ) ) ; $ this -> attachHelper ( 'password' , new FormHelperFieldPassword ( ) ) ; $ this -> attachHelper ( 'text' , new FormHelperFieldText ( ) ) ; $ this -> attachHelper ( 'textarea' , new FormHelperFieldTextarea ( ) ) ; $ this -> attachHelper ( 'value' , new FormHelperFieldValue ( ) ) ; $ this -> attachHelper ( 'radio' , new FormHelperOptionRadio ( ) ) ; $ this -> attachHelper ( 'errors' , new FormHelperTagErrors ( ) ) ; $ this -> attachHelper ( 'reset' , new FormHelperTagReset ( ) ) ; $ this -> attachHelper ( 'submit' , new FormHelperTagSubmit ( ) ) ; }
attach default form helper
attach default form helper