FilterHelper::_form13 PHP Method

_form13() public method

public _form13 ( $model, $fields )
    function _form13($model, $fields)
    {
        $output = '';
        foreach ($fields as $field) {
            if (empty($field)) {
                $output .= '<th>&nbsp;</th>';
            } else {
                $opts = array('label' => false);
                switch ($this->Form->fieldset[$model]['fields'][$field]['type']) {
                    case "text":
                        $opts += array('type' => 'text');
                        break;
                }
                $output .= '<th>' . $this->Form->input($field, $opts) . '</th>';
            }
        }
        return $output;
    }