Lines Matching defs:parameter
82 public static function getRequestParameter(string $parameter)
87 if (array_key_exists($parameter, $_GET)) {
91 return $_GET[$parameter];
98 if (array_key_exists($parameter, $_REQUEST)) {
99 return $_REQUEST[$parameter];
103 if ($INPUT->has($parameter)) {
104 return $INPUT->str($parameter);
109 if (array_key_exists($parameter, $COMBO)) {
110 return $COMBO[$parameter];
114 throw new ExceptionNotFound("The parameter ($parameter) was not found for this request");
118 public static function hasRequestParameter(string $parameter): bool
121 self::getRequestParameter($parameter);