public function getDefaultWorkflowId()
	{
		if ( empty($this->_defaultWorkflowId)) {
			$tokens = explode('\\', get_class($this->owner));
			$this->_defaultWorkflowId = end($tokens) . 'Workflow';
		}
		return $this->_defaultWorkflowId;
	}
public function getDefaultWorkflowId()
	{
		if ( empty($this->_defaultWorkflowId)) {
			$tokens = explode('\\', get_class($this->owner));
			$this->_defaultWorkflowId = end($tokens) . 'Workflow';
		}
		return $this->_defaultWorkflowId;
	}
public function getDefaultWorkflowId ( ) { if ( empty ( $ this -> _defaultWorkflowId ) ) { $ tokens = explode ( '\\' , get_class ( $ this -> owner ) ) ; $ this -> _defaultWorkflowId = end ( $ tokens ) . 'Workflow' ; } return $ this -> _defaultWorkflowId ; }
Returns the id of the default workflow associated with the owner model.

If no default workflow id has been configured, it is created by using the
shortname of the owner model class (i.e. the class name without the namespace part),
suffixed with 'Workflow'.

For instance, class `app\model\Post` has a default workflow id equals to **PostWorkflow**.

@return string id for the workflow the owner model is in.
Returns the id of the default workflow associated with the owner model .