public function getAllStatuses($workflowId)
	{
		$wDef = $this->getWorkflowDefinition($workflowId);
		if ( $wDef == null) {
			throw new WorkflowException('No workflow found with id ' . $workflowId);
		}
		$allStatuses = [];
		foreach( $wDef[self::KEY_NODES] as $statusId => $statusDef){
			$allStatuses[$statusId] = $this->getStatus($statusId);
		}
		return $allStatuses;
	}
public function getAllStatuses($workflowId)
	{
		$wDef = $this->getWorkflowDefinition($workflowId);
		if ( $wDef == null) {
			throw new WorkflowException('No workflow found with id ' . $workflowId);
		}
		$allStatuses = [];
		foreach( $wDef[self::KEY_NODES] as $statusId => $statusDef){
			$allStatuses[$statusId] = $this->getStatus($statusId);
		}
		return $allStatuses;
	}
public function getAllStatuses ( $ workflowId ) { $ wDef = $ this -> getWorkflowDefinition ( $ workflowId ) ; if ( $ wDef == null ) { throw new WorkflowException ( 'No workflow found with id ' . $ workflowId ) ; } $ allStatuses = [ ] ; foreach ( $ wDef [ self :: KEY_NODES ] as $ statusId => $ statusDef ) { $ allStatuses [ $ statusId ] = $ this -> getStatus ( $ statusId ) ; } return $ allStatuses ; }
Returns an array containing all statuses belonging to a workflow.

@see \raoul2000\workflow\source\IWorkflowSource::getAllStatuses()
Returns an array containing all statuses belonging to a workflow .