public function Title()
    {
        if (!$this->Title) {
            if ($this->getContextObject()) {
                if ($workflow = $this->contextObj->getWorkflowInstance()) {
                    $this->Title = $workflow->currentAction()->BaseAction()->PageTitle
                        ? $workflow->currentAction()->BaseAction()->PageTitle
                        : $workflow->currentAction()->Title;
                }
            }
        }
        return $this->Title;
    }
public function Title()
    {
        if (!$this->Title) {
            if ($this->getContextObject()) {
                if ($workflow = $this->contextObj->getWorkflowInstance()) {
                    $this->Title = $workflow->currentAction()->BaseAction()->PageTitle
                        ? $workflow->currentAction()->BaseAction()->PageTitle
                        : $workflow->currentAction()->Title;
                }
            }
        }
        return $this->Title;
    }
public function Title ( ) { if ( ! $ this -> Title ) { if ( $ this -> getContextObject ( ) ) { if ( $ workflow = $ this -> contextObj -> getWorkflowInstance ( ) ) { $ this -> Title = $ workflow -> currentAction ( ) -> BaseAction ( ) -> PageTitle ? $ workflow -> currentAction ( ) -> BaseAction ( ) -> PageTitle : $ workflow -> currentAction ( ) -> Title ; } } } return $ this -> Title ; }
checks to see if there is a title set on the current workflow action
uses that or falls back to controller->Title
checks to see if there is a title set on the current workflow action uses that or falls back to controller - > Title