Code Duplication    Length = 8-8 lines in 3 locations

src/HTMLForm/FormModelCheckbox.php 1 location

@@ 53-60 (lines=8) @@
50
    /**
51
     * Callback for submit-button.
52
     */
53
    public function callbackSubmit()
54
    {
55
        $this->AddOutput("<p>#callbackSubmit()</p>");
56
        $this->AddOutput("<pre>" . print_r($_POST, 1) . "</pre>");
57
        $this->saveInSession = true;
58
59
        return true;
60
    }
61
}
62

src/HTMLForm/FormModelElementsHTML401.php 1 location

@@ 118-125 (lines=8) @@
115
    /**
116
     * Callback for submit-button.
117
     */
118
    public function callbackSubmit()
119
    {
120
        $this->AddOutput("<p>#callbackSubmit()</p>");
121
        $this->AddOutput("<pre>" . print_r($_POST, 1) . "</pre>");
122
        $this->saveInSession = true;
123
124
        return true;
125
    }
126
}
127

src/HTMLForm/FormModelElementsHTML5.php 1 location

@@ 128-135 (lines=8) @@
125
     * Callback for submit-button.
126
     *
127
     */
128
    public function callbackSubmit()
129
    {
130
        $this->AddOutput("<p>#callbackSubmit()</p>");
131
        $this->AddOutput("<pre>" . print_r($_POST, 1) . "</pre>");
132
        $this->saveInSession = true;
133
134
        return true;
135
    }
136
}
137