src/XML/DOM/Storage.php
public function get( $path, $array = NULL )
	{
		if( $array == NULL )
			$array	= $this->storage;
		if( substr_count( $path, "." ) )
		{
			$parts	= explode( ".", $path );
			$step	= array_shift( $parts );
			$path	= implode( ".", $parts );
			$array	= (array) $array[$step];
			return $this->get( $path, $array );
		}
		else
		{
			if( in_array( $path, array_keys( $array ) ) )
				return $array[$path];
			else
				return NULL;
		}
	}
public function get( $path, $array = NULL )
	{
		if( $array == NULL )
			$array	= $this->storage;
		if( substr_count( $path, "." ) )
		{
			$parts	= explode( ".", $path );
			$step	= array_shift( $parts );
			$path	= implode( ".", $parts );
			$array	= (array) $array[$step];
			return $this->get( $path, $array );
		}
		else
		{
			if( in_array( $path, array_keys( $array ) ) )
				return $array[$path];
			else
				return NULL;
		}
	}
public function get ( $ path , $ array = NULL ) { if ( $ array == NULL ) $ array = $ this -> storage ; if ( substr_count ( $ path , "." ) ) { $ parts = explode ( "." , $ path ) ; $ step = array_shift ( $ parts ) ; $ path = implode ( "." , $ parts ) ; $ array = ( array ) $ array [ $ step ] ; return $ this -> get ( $ path , $ array ) ; } else { if ( in_array ( $ path , array_keys ( $ array ) ) ) return $ array [ $ path ] ; else return NULL ; } }
Returns value of a Path in the Storage.
@access		public
@param		string		$path			Path to stored Value
@param		array		$array			current Position in Storage Array
@return 	mixed
Returns value of a Path in the Storage .