/** * Check to see if the given key is in the request. * @param string $key * @param boolean $prefix (optional) false to omit Gallery variable prefix (not recommended) */ public static function hasRequestVariable($key, $prefix=true) { if ($prefix) { $key = MYOOS_FORM_VARIABLE_PREFIX . $key; } $value = MyOOS_Utilities::_getRequestVariable($key); return !empty($value); }