public function addInput($fieldset, $type, $id = '', $class = '', $attributes = '', $name = '', $value = '',
                             $placeholder = '', $labelText = '', $labelId = '', $labelClass = '',
                             $labelAttributes = '', $div = FALSE, $divId = '', $divClass = '', $divAttributes = '')
    {
        $this->formData[$this->nrInput]['fieldset'] = $fieldset;
        $this->formData[$this->nrInput]['type'] = $type;
        $this->formData[$this->nrInput]['id'] = $id;
        $this->formData[$this->nrInput]['class'] = $class;
        $this->formData[$this->nrInput]['attributes'] = $attributes;
        $this->formData[$this->nrInput]['name'] = $name;
        $this->formData[$this->nrInput]['value'] = $value;
        $this->formData[$this->nrInput]['placeholder'] = $placeholder;
        $this->formData[$this->nrInput]['labelText'] = $labelText;
        $this->formData[$this->nrInput]['labelId'] = $labelId;
        $this->formData[$this->nrInput]['labelClass'] = $labelClass;
        $this->formData[$this->nrInput]['labelAttributes'] = $labelAttributes;
        $this->formData[$this->nrInput]['div'] = $div;
        $this->formData[$this->nrInput]['divId'] = $divId;
        $this->formData[$this->nrInput]['divClass'] = $divClass;
        $this->formData[$this->nrInput]['divAttributes'] = $divAttributes;
        $this->nrInput++;
    }
public function addInput($fieldset, $type, $id = '', $class = '', $attributes = '', $name = '', $value = '',
                             $placeholder = '', $labelText = '', $labelId = '', $labelClass = '',
                             $labelAttributes = '', $div = FALSE, $divId = '', $divClass = '', $divAttributes = '')
    {
        $this->formData[$this->nrInput]['fieldset'] = $fieldset;
        $this->formData[$this->nrInput]['type'] = $type;
        $this->formData[$this->nrInput]['id'] = $id;
        $this->formData[$this->nrInput]['class'] = $class;
        $this->formData[$this->nrInput]['attributes'] = $attributes;
        $this->formData[$this->nrInput]['name'] = $name;
        $this->formData[$this->nrInput]['value'] = $value;
        $this->formData[$this->nrInput]['placeholder'] = $placeholder;
        $this->formData[$this->nrInput]['labelText'] = $labelText;
        $this->formData[$this->nrInput]['labelId'] = $labelId;
        $this->formData[$this->nrInput]['labelClass'] = $labelClass;
        $this->formData[$this->nrInput]['labelAttributes'] = $labelAttributes;
        $this->formData[$this->nrInput]['div'] = $div;
        $this->formData[$this->nrInput]['divId'] = $divId;
        $this->formData[$this->nrInput]['divClass'] = $divClass;
        $this->formData[$this->nrInput]['divAttributes'] = $divAttributes;
        $this->nrInput++;
    }
public function addInput ( $ fieldset , $ type , $ id = '' , $ class = '' , $ attributes = '' , $ name = '' , $ value = '' , $ placeholder = '' , $ labelText = '' , $ labelId = '' , $ labelClass = '' , $ labelAttributes = '' , $ div = FALSE , $ divId = '' , $ divClass = '' , $ divAttributes = '' ) { $ this -> formData [ $ this -> nrInput ] [ 'fieldset' ] = $ fieldset ; $ this -> formData [ $ this -> nrInput ] [ 'type' ] = $ type ; $ this -> formData [ $ this -> nrInput ] [ 'id' ] = $ id ; $ this -> formData [ $ this -> nrInput ] [ 'class' ] = $ class ; $ this -> formData [ $ this -> nrInput ] [ 'attributes' ] = $ attributes ; $ this -> formData [ $ this -> nrInput ] [ 'name' ] = $ name ; $ this -> formData [ $ this -> nrInput ] [ 'value' ] = $ value ; $ this -> formData [ $ this -> nrInput ] [ 'placeholder' ] = $ placeholder ; $ this -> formData [ $ this -> nrInput ] [ 'labelText' ] = $ labelText ; $ this -> formData [ $ this -> nrInput ] [ 'labelId' ] = $ labelId ; $ this -> formData [ $ this -> nrInput ] [ 'labelClass' ] = $ labelClass ; $ this -> formData [ $ this -> nrInput ] [ 'labelAttributes' ] = $ labelAttributes ; $ this -> formData [ $ this -> nrInput ] [ 'div' ] = $ div ; $ this -> formData [ $ this -> nrInput ] [ 'divId' ] = $ divId ; $ this -> formData [ $ this -> nrInput ] [ 'divClass' ] = $ divClass ; $ this -> formData [ $ this -> nrInput ] [ 'divAttributes' ] = $ divAttributes ; $ this -> nrInput ++ ; }
With this function you add Input elements to the form

@param string $fieldset Specifies the name of the fieldset the input-tag belongs to
@param string $type Specifies the type of the input-tag to display
@param string $id Specifies the id of the input-tag (= for by the label)
@param string $class Specifies the class of the input-tag
@param string|array $attributes Specifies the other attributes for the input-tag
@param string $name Specifies the name of the input-tag (= variable)
@param string $value Specifies the value of the input-tag
@param string $placeholder Specifies a short hint that describes the expected value of the input-tag
@param string $labelText Specifies the text to show by the input-tag
@param string $labelId Specifies the id of the label-tag
@param string $labelClass Specifies the class of the label-tag
@param string|array $labelAttributes Specifies the other attributes for the label-tag
@param boolean $div Specifies if there has to be a div-tag around the label- and input-tag (TRUE/FALSE)
@param string $divId Specifies the id of the div-tag
@param string $divClass Specifies the class of the div-tag
@param string|array $divAttributes Specifies the other attributes for the div-tag

The information is added to the $formData array
With this function you add Input elements to the form