protected function getCaption($onlyNotCurrent = false)
    {
        $orgId = $this->request->getParam(\MUtil_Model::REQUEST_ID2);
        if ($orgId == $this->loader->getCurrentUser()->getCurrentOrganizationId()) {
            if ($onlyNotCurrent) {
                return;
            } else {
                return $this->_('Respondent information');
            }
        } else {
            return sprintf($this->_('%s respondent information'), $this->loader->getOrganization($orgId)->getName());
        }
    }
protected function getCaption($onlyNotCurrent = false)
    {
        $orgId = $this->request->getParam(\MUtil_Model::REQUEST_ID2);
        if ($orgId == $this->loader->getCurrentUser()->getCurrentOrganizationId()) {
            if ($onlyNotCurrent) {
                return;
            } else {
                return $this->_('Respondent information');
            }
        } else {
            return sprintf($this->_('%s respondent information'), $this->loader->getOrganization($orgId)->getName());
        }
    }
protected function getCaption ( $ onlyNotCurrent = false ) { $ orgId = $ this -> request -> getParam ( \ MUtil_Model :: REQUEST_ID2 ) ; if ( $ orgId == $ this -> loader -> getCurrentUser ( ) -> getCurrentOrganizationId ( ) ) { if ( $ onlyNotCurrent ) { return ; } else { return $ this -> _ ( 'Respondent information' ) ; } } else { return sprintf ( $ this -> _ ( '%s respondent information' ) , $ this -> loader -> getOrganization ( $ orgId ) -> getName ( ) ) ; } }
Returns the caption for this table

@param boolean $onlyNotCurrent Only return a string when the organization is different
@return string
Returns the caption for this table