From 56e7c5c0a30b5283fc2eaf7b5f6ad1dc101c589d Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 13 Apr 2018 17:02:49 +0900 Subject: [PATCH] Update base.php --- system/base.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/base.php b/system/base.php index cc6e1cb..2049435 100644 --- a/system/base.php +++ b/system/base.php @@ -149,6 +149,13 @@ if(!function_exists("get_value_in_array")) { } } +if(!function_exists("get_value_in_object")) { + function get_value_in_object($name, $obj, $default="") { + $output = $obj->$name; + return $output; + } +} + $scope = array(); set_scope("loaded", array(