Create a Venue object from a SimpleXMLElement.
static
Venue
fromSimpleXMLElement
(
$xml)
-
SimpleXMLElement
$xml: A SimpleXMLElement.
Get a list of upcoming events at this venue.
static
array
getEvents
( $event, string $venue)
-
string
$venue: The venue id to fetch the events for. (Required)
-
$event
Get a paginated list of all the events held at this venue in the past.
static
PaginatedResult
getPastEvents
(
string $venue, [
integer $limit =
null], [
integer $page =
null])
-
string
$venue: The id for the venue you would like to fetch event listings for. (Required)
-
integer
$limit: The maximum number of results to return. (Optional)
-
integer
$page: The page of results to return. (Optional)
Search for a venue by venue name .
static
PaginatedResult
search
(
string $venue, [
integer $limit =
null], [
integer $page =
null], [
string $country =
null])
-
string
$venue: The venue name you would like to search for. (Required)
-
integer
$limit: The number of results to fetch per page. Defaults to 50. (Optional)
-
integer
$page: The results page you would like to fetch. (Optional)
-
string
$country: Filter your results by country. Expressed as an ISO 3166-2 code. (Optional)
Create a Venue object.
Venue
__construct
(
string $name,
Location $location,
string $url)
-
string
$name: A venue name.
-
Location
$location: A venue location.
-
string
$url: A venue URL.
Returns the venues location.
Returns the venues name.
string
getName
()
Returns the venues URL.
string
getUrl
()