getId()
getId() : string
Returns the id of the event
Returns
string —The events id
An event contains information about the real world event (either concert or event).
getDateOfEvent(string $format = "d.m.Y") : string
Returns the date of the event in the desired date format.
Note that this is really just a date and does not include time information
string | $format | The format of the date. |
The date in the given format, or in the original format if the date could not be parsed or an empty string if no date is available
getEntranceTime(string $format = "H:i") : string
Returns the entrance time for the event (does not contain date information)
string | $format | The format in which to display the entrance time |
The entrance time in the given format or in the original format if the time could not be parsed or an empty string if the time is not available
getStartTime(string $format = "H:i") : string
Returns the start time of the event (does not contain date information)
string | $format | The format in which to display the start time |
The start time in the given format or in the original format if the time could not be parsed or an empty string if the time is not available
getLocation() : \Copilot\Client\Location
Returns the location the event will take place at
The location of the event or NULL if that information is not available
getMainAct() : \Copilot\Client\Artist|NULL
Returns the main act of the event.
The mainact of the event or NULL if the information is not available
getEventImageLink(integer $width) : string
Returns an URL to a suitable image for the event.
The image returned depends on the available data. The image will be resolved in the following order 1) The artists main image or 2) the artists band logo or 3) the artists press image
integer | $width | The width of the image to be returned |
The images URL or NULL if no image can be found
getSupportActs() : array<mixed,\Copilot\Client\Artist>
Returns all support acts in the given event
An array of Artist's that appear as support acts