public function getGid() { parse_str(parse_url($this->getExportCsvUrl(), PHP_URL_QUERY), $query); return (int) $query['gid']; }