public function formfield_text($config = array())
    {
        $config = new AnConfig($config);

        $config->append(array(
            'class' => 'input-block-level',
            'maxlength' => 200,
            'name' => '',
            'id' => '',
            'label' => '',
            'placeholder' => '',
            'description' => '',
            'disabled' => false,
            'type' => 'text',
            'pattern' => '',
            'required' => true,
        ));

        return $this->_render('formfield_text', $config);
    }
public function formfield_text($config = array())
    {
        $config = new AnConfig($config);

        $config->append(array(
            'class' => 'input-block-level',
            'maxlength' => 200,
            'name' => '',
            'id' => '',
            'label' => '',
            'placeholder' => '',
            'description' => '',
            'disabled' => false,
            'type' => 'text',
            'pattern' => '',
            'required' => true,
        ));

        return $this->_render('formfield_text', $config);
    }
public function formfield_text ( $ config = array ( ) ) { $ config = new AnConfig ( $ config ) ; $ config -> append ( array ( 'class' => 'input-block-level' , 'maxlength' => 200 , 'name' => '' , 'id' => '' , 'label' => '' , 'placeholder' => '' , 'description' => '' , 'disabled' => false , 'type' => 'text' , 'pattern' => '' , 'required' => true , ) ) ; return $ this -> _render ( 'formfield_text' , $ config ) ; }
renders a text form field

@param array attributes
@return html form field
renders a text form field