Update uri.php

This commit is contained in:
Namhyeon Go 2018-04-14 23:48:44 +09:00 committed by GitHub
parent 4201633c00
commit 5fc354cce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,20 @@ if(!function_exists("get_requested_value")) {
}
}
if(!function_exists("get_requested_values")) {
function get_requested_values($names, $method="_ALL", $escape_quotes=true, $escape_tags=false) {
$values = array();
if(is_array($names)) {
foreach($names as $name) {
$values[$name] = get_requested_value($name);
}
}
return $values;
}
}
if(!function_exists("get_array")) {
function get_array($arr) {
return is_array($arr) ? $arr : array();