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(