original_string: 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());
          }
      }
code: 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());
          }
      }
code_tokens: 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 ( ) ) ; } }
docstring: Returns the caption for this table
  
  @param boolean $onlyNotCurrent Only return a string when the organization is different
  @return string
docstring_tokens: Returns the caption for this table