public function getInfos($asFlat = false)
    {
        $iterator = true === $asFlat
            ? $this->getRecursiveIterator()
            : $this;

	    $infos = array();
	    foreach ($iterator as $element) {
	        if ($element->getType() == self::TYPE_INFO) {
	            $infos[] = $element;
	        }
	    }
	    return $infos;
	}