public function getChildrenRecursively (ContextSpecificationInterface $filter = null)
	{
		$list = $this->getChildren($filter);

		foreach ($this->getChildren() as $child)
		{
			if ($child->hasChildren())
			{
				$list = array_merge ($list, $child->getChildrenRecursively($filter));
			}
		}

		return $list;
	}
public function getChildrenRecursively (ContextSpecificationInterface $filter = null)
	{
		$list = $this->getChildren($filter);

		foreach ($this->getChildren() as $child)
		{
			if ($child->hasChildren())
			{
				$list = array_merge ($list, $child->getChildrenRecursively($filter));
			}
		}

		return $list;
	}
public function getChildrenRecursively ( ContextSpecificationInterface $ filter = null ) { $ list = $ this -> getChildren ( $ filter ) ; foreach ( $ this -> getChildren ( ) as $ child ) { if ( $ child -> hasChildren ( ) ) { $ list = array_merge ( $ list , $ child -> getChildrenRecursively ( $ filter ) ) ; } } return $ list ; }
Return all children recursively
@param  ContextSpecificationInterface $filter
@return array
Return all children recursively