|
@@ 115-121 (lines=7) @@
|
| 112 |
|
* |
| 113 |
|
* @throws Exception If a key is not found and if $throwOnError is true |
| 114 |
|
*/ |
| 115 |
|
public static function obtainManyPostKeys($keysList, $throwOnError = true) |
| 116 |
|
{ |
| 117 |
|
$currentClass = get_called_class(); |
| 118 |
|
$secure = $currentClass::getSecureHelpersName(); |
| 119 |
|
|
| 120 |
|
return $secure::getSecurisedManyKeys($_POST, $keysList, $throwOnError); |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
/** |
| 124 |
|
* Obtain many securised keys from $_GET array in one time |
|
@@ 136-142 (lines=7) @@
|
| 133 |
|
* |
| 134 |
|
* @throws Exception If a key is not found and if $throwOnError is true |
| 135 |
|
*/ |
| 136 |
|
public static function obtainManyGetKeys($keysList, $throwOnError = true) |
| 137 |
|
{ |
| 138 |
|
$currentClass = get_called_class(); |
| 139 |
|
$secure = $currentClass::getSecureHelpersName(); |
| 140 |
|
|
| 141 |
|
return $secure::getSecurisedManyKeys($_GET, $keysList, $throwOnError); |
| 142 |
|
} |
| 143 |
|
} |
| 144 |
|
|