public function getIssues ($recursive = false, ContextSpecificationInterface $filter = null)
	{
		$list = $this->issues;

		if ($recursive === true)
		{
			foreach ($this->getChildrenRecursively($filter) as $child)
			{
				foreach ($child->getIssues(false, $filter) as $issue)
				{
					$list[] = $issue;
				}

			}
		}

		return $list;
	}
public function getIssues ($recursive = false, ContextSpecificationInterface $filter = null)
	{
		$list = $this->issues;

		if ($recursive === true)
		{
			foreach ($this->getChildrenRecursively($filter) as $child)
			{
				foreach ($child->getIssues(false, $filter) as $issue)
				{
					$list[] = $issue;
				}

			}
		}

		return $list;
	}
public function getIssues ( $ recursive = false , ContextSpecificationInterface $ filter = null ) { $ list = $ this -> issues ; if ( $ recursive === true ) { foreach ( $ this -> getChildrenRecursively ( $ filter ) as $ child ) { foreach ( $ child -> getIssues ( false , $ filter ) as $ issue ) { $ list [ ] = $ issue ; } } } return $ list ; }
Return all issues
@param bool $recursive
@param ContextSpecificationInterface $filter
@return array
Return all issues