/**
  * Method to get the users list for the user filter
  *
  * @access private
  */
 private function setUserSelectList()
 {
     $allContacts = $this->getGroupMembers('Sector_Coordinators_55') + $this->getGroupMembers('Recruitment_Team_13');
     $sortedContacts = array();
     foreach ($allContacts as $contact) {
         $sortedContacts[$contact] = CRM_Threepeas_Utils::getContactName($contact);
     }
     asort($sortedContacts);
     $this->_userSelectList = array(0 => 'current user') + $sortedContacts;
 }
 /**
  * Method to get the users list for the user filter
  *
  * @access private
  */
 private function setUserSelectList()
 {
     if (method_exists('CRM_Groupsforreports_GroupReport', 'getGroupMembersForReport')) {
         $allContacts = CRM_Groupsforreports_GroupReport::getGroupMembersForReport(__CLASS__);
         $sortedContacts = array();
         foreach ($allContacts as $contact) {
             $sortedContacts[$contact] = CRM_Threepeas_Utils::getContactName($contact);
         }
         asort($sortedContacts);
         $this->_userSelectList = array(0 => 'current user') + $sortedContacts;
     }
 }