Update uri.php

This commit is contained in:
Namhyeon Go 2018-11-11 04:23:06 +09:00 committed by GitHub
parent 66ebd2cd56
commit 8019f9ad83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,13 +198,6 @@ if(!function_exists("get_requested_value")) {
}
}
if(!function_exists("get_requested_condition")) {
function get_requested_condition($name, $method="_ALL") {
$value = get_requested_value($name, $method);
return !(!$value);
}
}
if(!function_exists("get_requested_values")) {
function get_requested_values($names, $method="_ALL", $escape_quotes=true, $escape_tags=false) {
$values = array();
@ -219,6 +212,13 @@ if(!function_exists("get_requested_values")) {
}
}
if(!function_exists("get_requested_condition")) {
function get_requested_condition($name, $method="_ALL") {
$value = get_requested_value($name, $method);
return !(!$value);
}
}
if(!function_exists("get_binded_requests")) {
function get_binded_requests($rules, $method="_ALL") {
$data = array();