original_string: public function getOrganizations()
      {
          $sql = "SELECT gor_id_organization, gor_name
                      FROM gems__organizations
                      WHERE gor_active = 1
                      ORDER BY gor_name";
  
          try {
              $organizations = $this->_getSelectPairsCached(__FUNCTION__, $sql, null, 'organizations', 'natsort');
          } catch (\Exception $exc) {
              // Intentional fallthrough when no db present
              $organizations = array();
          }
  
          return $organizations;
      }
code: public function getOrganizations()
      {
          $sql = "SELECT gor_id_organization, gor_name
                      FROM gems__organizations
                      WHERE gor_active = 1
                      ORDER BY gor_name";
  
          try {
              $organizations = $this->_getSelectPairsCached(__FUNCTION__, $sql, null, 'organizations', 'natsort');
          } catch (\Exception $exc) {
              // Intentional fallthrough when no db present
              $organizations = array();
          }
  
          return $organizations;
      }
code_tokens: public function getOrganizations ( ) { $ sql = "SELECT gor_id_organization, gor_name
                      FROM gems__organizations
                      WHERE gor_active = 1
                      ORDER BY gor_name" ; try { $ organizations = $ this -> _getSelectPairsCached ( __FUNCTION__ , $ sql , null , 'organizations' , 'natsort' ) ; } catch ( \ Exception $ exc ) { // Intentional fallthrough when no db present $ organizations = array ( ) ; } return $ organizations ; }
docstring: Get all active organizations
  
  @return array List of the active organizations
docstring_tokens: Get all active organizations