src/HtmlGenerator.php
/**
     * Given an array of name/value pairs, this will generate all the hidden 
     * input fields for them to be inserted into a form.
     * @param pairs - assoc array of name/value pairs to post
     * @return string - the generated html.
     */
Given an array of name/value pairs, this will generate all the hidden
input fields for them to be inserted into a form.
@param pairs - assoc array of name/value pairs to post
@return string - the generated html.
Given an array of name / value pairs this will generate all the hidden input fields for them to be inserted into a form . @param pairs - assoc array of name / value pairs to post @return string - the generated html .
public static function generateHiddenInputFields($pairs)
    {
        $html = '';
        foreach ($pairs as $name => $value)
        {
            $html .= self::generateHiddenInputField($name, $value);
        }
        return $html;
    }
public static function generateHiddenInputFields ( $ pairs ) { $ html = '' ; foreach ( $ pairs as $ name => $ value ) { $ html .= self :: generateHiddenInputField ( $ name , $ value ) ; } return $ html ; }
Given an array of name/value pairs, this will generate all the hidden
 input fields for them to be inserted into a form.
Given an array of name / value pairs this will generate all the hidden input fields for them to be inserted into a form .