raoul2000\workflow\base\SimpleWorkflowBehavior::getOwnerStatus PHP Метод

getOwnerStatus() приватный Метод

If a Status Converter has been configured, it is invoked to get the status value. If [[$emptyStringAsNull]] has been configured to TRUE, the status attribute is considered as null if it contains an empty string.
private getOwnerStatus ( ) : string
Результат string the value of the status attribute in the owner model
    private function getOwnerStatus()
    {
        $ownerStatus = $this->owner->{$this->statusAttribute};
        if ($this->getStatusConverter() != null) {
            $ownerStatus = $this->_statusConverter->toSimpleWorkflow($ownerStatus);
        }
        return $ownerStatus;
    }