diff --git a/system/engine/restful.php b/system/engine/restful.php index 673b804..9190d33 100644 --- a/system/engine/restful.php +++ b/system/engine/restful.php @@ -161,6 +161,13 @@ class RESTful extends Controller { } } + /** + * Return true or false for data type + * + * @param string $type Type to test + * @param string $data Data to test + * @return bool + */ static function __testType($type, $data){ switch ($type) {