public function toArray() {
			$array = array();

			foreach ($this->data as $k => $v) {
				$nodes = explode('.', $k);
				$loc = &$array;

				foreach ($nodes as $i => $node)
					if ($i === sizeof($nodes) - 1)
						$loc[$node] = $v;
					else if (!isset($array[$node])) {
						$loc[$node] = array();

						$loc = &$loc[$node];
					}
			}

			return $array;
		}
public function toArray() {
			$array = array();

			foreach ($this->data as $k => $v) {
				$nodes = explode('.', $k);
				$loc = &$array;

				foreach ($nodes as $i => $node)
					if ($i === sizeof($nodes) - 1)
						$loc[$node] = $v;
					else if (!isset($array[$node])) {
						$loc[$node] = array();

						$loc = &$loc[$node];
					}
			}

			return $array;
		}
public function toArray ( ) { $ array = array ( ) ; foreach ( $ this -> data as $ k => $ v ) { $ nodes = explode ( '.' , $ k ) ; $ loc = & $ array ; foreach ( $ nodes as $ i => $ node ) if ( $ i === sizeof ( $ nodes ) - 1 ) $ loc [ $ node ] = $ v ; else if ( ! isset ( $ array [ $ node ] ) ) { $ loc [ $ node ] = array ( ) ; $ loc = & $ loc [ $ node ] ; } } return $ array ; }
Returns an array contaning the data held by a Yaml instance.

@return array a plain array representation of the stored YAML data
Returns an array contaning the data held by a Yaml instance .