@@ 150-157 (lines=8) @@ | ||
147 | * @param mixed $value Value to define |
|
148 | * @return $this |
|
149 | */ |
|
150 | public function setPostValue($name, $value) |
|
151 | { |
|
152 | $this->post[$name] = $value; |
|
153 | //for compliance purpose only - do not use |
|
154 | $_POST[$name] = $value; |
|
155 | $_REQUEST[$name] = $value; |
|
156 | return $this; |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * Define a GET value |
|
@@ 165-172 (lines=8) @@ | ||
162 | * @param mixed $value Value to define |
|
163 | * @return $this |
|
164 | */ |
|
165 | public function setGetValue($name, $value) |
|
166 | { |
|
167 | $this->get[$name] = $value; |
|
168 | //for compliance purpose only - do not use |
|
169 | $_GET[$name] = $value; |
|
170 | $_REQUEST[$name] = $value; |
|
171 | return $this; |
|
172 | } |
|
173 | ||
174 | /** |
|
175 | * Check whether selected post exists |