public function getDrupalRoleList()
    {
        if (null === $this->roleListCache) {
            $this->roleListCache = $this->db->query("SELECT rid, name FROM {role} ORDER BY rid")->fetchAllKeyed();
        }

        return $this->roleListCache;
    }
public function getDrupalRoleList()
    {
        if (null === $this->roleListCache) {
            $this->roleListCache = $this->db->query("SELECT rid, name FROM {role} ORDER BY rid")->fetchAllKeyed();
        }

        return $this->roleListCache;
    }
public function getDrupalRoleList ( ) { if ( null === $ this -> roleListCache ) { $ this -> roleListCache = $ this -> db -> query ( "SELECT rid, name FROM {role} ORDER BY rid" ) -> fetchAllKeyed ( ) ; } return $ this -> roleListCache ; }
Get Drupal role list

@return string(]
Keys are internal role identifiers, values are role names
Get Drupal role list