function get($key,$args=NULL) {
		if (is_string($val=$this->ref($key,FALSE)) && !is_null($args))
			return call_user_func_array(
				array($this,'format'),
				array_merge(array($val),is_array($args)?$args:array($args))
			);
		if (is_null($val)) {
			// Attempt to retrieve from cache
			if (Cache::instance()->exists($this->hash($key).'.var',$data))
				return $data;
		}
		return $val;
	}
function get($key,$args=NULL) {
		if (is_string($val=$this->ref($key,FALSE)) && !is_null($args))
			return call_user_func_array(
				array($this,'format'),
				array_merge(array($val),is_array($args)?$args:array($args))
			);
		if (is_null($val)) {
			// Attempt to retrieve from cache
			if (Cache::instance()->exists($this->hash($key).'.var',$data))
				return $data;
		}
		return $val;
	}
function get ( $ key , $ args = NULL ) { if ( is_string ( $ val = $ this -> ref ( $ key , FALSE ) ) && ! is_null ( $ args ) ) return call_user_func_array ( array ( $ this , 'format' ) , array_merge ( array ( $ val ) , is_array ( $ args ) ? $ args : array ( $ args ) ) ) ; if ( is_null ( $ val ) ) { // Attempt to retrieve from cache if ( Cache :: instance ( ) -> exists ( $ this -> hash ( $ key ) . '.var' , $ data ) ) return $ data ; } return $ val ; }
Retrieve contents of hive key
@return mixed
@param $key string
@param $args string|array
Retrieve contents of hive key