public function getWorkflow()
	{
		return $this->hasWorkflowStatus() ? $this->getWorkflowSource()->getWorkflow($this->getWorkflowStatus()->getWorkflowId()) : null;
	}
public function getWorkflow()
	{
		return $this->hasWorkflowStatus() ? $this->getWorkflowSource()->getWorkflow($this->getWorkflowStatus()->getWorkflowId()) : null;
	}
public function getWorkflow ( ) { return $ this -> hasWorkflowStatus ( ) ? $ this -> getWorkflowSource ( ) -> getWorkflow ( $ this -> getWorkflowStatus ( ) -> getWorkflowId ( ) ) : null ; }
Returns the current Workflow instance the model is in or NULL if the model is not in a workflow.

@return NULL|Workflow  the workflow the owner model is currently in, or null if the owner
model is not in a workflow
Returns the current Workflow instance the model is in or NULL if the model is not in a workflow .