original_string: public function getRespondentOrganizations()
      {
  
          if (! $this->_hasVar('__allowedRespOrgs')) {
              $availableOrganizations = $this->util->getDbLookup()->getOrganizationsWithRespondents();
              $allowedOrganizations   = $this->getAllowedOrganizations();
  
              $this->_setVar('__allowedRespOrgs', array_intersect($availableOrganizations, $allowedOrganizations));
          }
          // \MUtil_Echo::track($this->_getVar('__allowedOrgs'));
  
          return $this->_getVar('__allowedRespOrgs');
      }
code: public function getRespondentOrganizations()
      {
  
          if (! $this->_hasVar('__allowedRespOrgs')) {
              $availableOrganizations = $this->util->getDbLookup()->getOrganizationsWithRespondents();
              $allowedOrganizations   = $this->getAllowedOrganizations();
  
              $this->_setVar('__allowedRespOrgs', array_intersect($availableOrganizations, $allowedOrganizations));
          }
          // \MUtil_Echo::track($this->_getVar('__allowedOrgs'));
  
          return $this->_getVar('__allowedRespOrgs');
      }
code_tokens: public function getRespondentOrganizations ( ) { if ( ! $ this -> _hasVar ( '__allowedRespOrgs' ) ) { $ availableOrganizations = $ this -> util -> getDbLookup ( ) -> getOrganizationsWithRespondents ( ) ; $ allowedOrganizations = $ this -> getAllowedOrganizations ( ) ; $ this -> _setVar ( '__allowedRespOrgs' , array_intersect ( $ availableOrganizations , $ allowedOrganizations ) ) ; } // \MUtil_Echo::track($this->_getVar('__allowedOrgs')); return $ this -> _getVar ( '__allowedRespOrgs' ) ; }
docstring: Get an array of OrgId => Org Name for all allowed organizations that can have
  respondents for the current logged in user
  
  @return array
docstring_tokens: Get an array of OrgId = > Org Name for all allowed organizations that can have respondents for the current logged in user