Source/SimpleTransaction.php
public function createHiddenField($name = '', $value = '')
    {
        if ($name == '') {
            $this->errorMessage[] = 'HTML HIDDEN: field name is empty';
            return false;
        }
        $inputId = $name;
        if (substr($name, -2, 2) == "[]") {
            $inputId = substr($name, 0, -2);
        }
        return "\n<input type='hidden' name='" . $name . "' id='" . $inputId . "' value='" . $value . "' />";
    }
public function createHiddenField($name = '', $value = '')
    {
        if ($name == '') {
            $this->errorMessage[] = 'HTML HIDDEN: field name is empty';
            return false;
        }
        $inputId = $name;
        if (substr($name, -2, 2) == "[]") {
            $inputId = substr($name, 0, -2);
        }
        return "\n<input type='hidden' name='" . $name . "' id='" . $inputId . "' value='" . $value . "' />";
    }
public function createHiddenField ( $ name = '' , $ value = '' ) { if ( $ name == '' ) { $ this -> errorMessage [ ] = 'HTML HIDDEN: field name is empty' ; return false ; } $ inputId = $ name ; if ( substr ( $ name , - 2 , 2 ) == "[]" ) { $ inputId = substr ( $ name , 0 , - 2 ) ; } return "\n<input type='hidden' name='" . $ name . "' id='" . $ inputId . "' value='" . $ value . "' />" ; }
Creates hidden HTML field

@param string $name  Name of the field. ID parameter will be generated without "[]"
@param string $value Value of the field

@return string HTML form element
Creates hidden HTML field