concrete/src/Workflow/Progress/Progress.php
public function getWorkflowRequestObject()
    {
        if ($this->wrID > 0) {
            $cat = WorkflowProgressCategory::getByID($this->wpCategoryID);
            $handle = $cat->getWorkflowProgressCategoryHandle();
            $class = '\\Core\\Workflow\\Request\\' . Core::make('helper/text')->camelcase($handle) . 'Request';
            $pkHandle = $cat->getPackageHandle();
            $class = core_class($class, $pkHandle);
            $wr = $class::getByID($this->wrID);
            if (is_object($wr)) {
                $wr->setCurrentWorkflowProgressObject($this);

                return $wr;
            }
        }
    }
public function getWorkflowRequestObject()
    {
        if ($this->wrID > 0) {
            $cat = WorkflowProgressCategory::getByID($this->wpCategoryID);
            $handle = $cat->getWorkflowProgressCategoryHandle();
            $class = '\\Core\\Workflow\\Request\\' . Core::make('helper/text')->camelcase($handle) . 'Request';
            $pkHandle = $cat->getPackageHandle();
            $class = core_class($class, $pkHandle);
            $wr = $class::getByID($this->wrID);
            if (is_object($wr)) {
                $wr->setCurrentWorkflowProgressObject($this);

                return $wr;
            }
        }
    }
public function getWorkflowRequestObject ( ) { if ( $ this -> wrID > 0 ) { $ cat = WorkflowProgressCategory :: getByID ( $ this -> wpCategoryID ) ; $ handle = $ cat -> getWorkflowProgressCategoryHandle ( ) ; $ class = '\\Core\\Workflow\\Request\\' . Core :: make ( 'helper/text' ) -> camelcase ( $ handle ) . 'Request' ; $ pkHandle = $ cat -> getPackageHandle ( ) ; $ class = core_class ( $ class , $ pkHandle ) ; $ wr = $ class :: getByID ( $ this -> wrID ) ; if ( is_object ( $ wr ) ) { $ wr -> setCurrentWorkflowProgressObject ( $ this ) ; return $ wr ; } } }
Get the WorkflowRequest object for the current WorkflowProgress object.

@return WorkflowRequest
Get the WorkflowRequest object for the current WorkflowProgress object .