applications/dashboard/models/class.rolemodel.php
public function GetArray() {
      // $RoleData = $this->GetEditablePermissions();
      $RoleData = $this->Get();
      $RoleIDs = ConsolidateArrayValuesByKey($RoleData->ResultArray(), 'RoleID');
      $RoleNames = ConsolidateArrayValuesByKey($RoleData->ResultArray(), 'Name');
      return ArrayCombine($RoleIDs, $RoleNames);
   }
public function GetArray() {
      // $RoleData = $this->GetEditablePermissions();
      $RoleData = $this->Get();
      $RoleIDs = ConsolidateArrayValuesByKey($RoleData->ResultArray(), 'RoleID');
      $RoleNames = ConsolidateArrayValuesByKey($RoleData->ResultArray(), 'Name');
      return ArrayCombine($RoleIDs, $RoleNames);
   }
public function GetArray ( ) { // $RoleData = $this->GetEditablePermissions(); $ RoleData = $ this -> Get ( ) ; $ RoleIDs = ConsolidateArrayValuesByKey ( $ RoleData -> ResultArray ( ) , 'RoleID' ) ; $ RoleNames = ConsolidateArrayValuesByKey ( $ RoleData -> ResultArray ( ) , 'Name' ) ; return ArrayCombine ( $ RoleIDs , $ RoleNames ) ; }
Returns an array of RoleID => RoleName pairs.

@return array
Returns an array of RoleID = > RoleName pairs .