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