Properties

$title

$title : 

Type

$body

$body : 

Type

$category

$category : 

Type

$topic

$topic : 

Type

$url

$url : 

Type

$edit_url

$edit_url : 

Type

$status

$status : 

Type

$created

$created : 

Type

$changed

$changed : 

Type

$language

$language : 

Type

$drupalId

$drupalId : 

Type

$drupalVersionId

$drupalVersionId : 

Type

$uuid

$uuid : 

Type

$vuuid

$vuuid : 

Type

$type

$type : 

Type

$og_group_ref

$og_group_ref : 

Type

$date_time

$date_time : 

Type

$image

$image : 

Type

$price

$price : 

Type

$email

$email : 

Type

$link

$link : 

Type

$offline

$offline : 

Type

$phone

$phone : 

Type

$apiUri

$apiUri : 

Type

$apiBase

$apiBase : 

Type

Methods

__construct()

__construct(  $data = array()) 

Parameters

$data

set()

set(  $data) 

Set data for entity.

Parameters

$data

apiUri()

apiUri() : string

Return the API URI for this entity.

Returns

string

getTitle()

getTitle() 

getBody()

getBody() : string

Body or Description of the Entity.

Returns

string

getBodyRaw()

getBodyRaw() : array

Body, summary and filter type.

Keyed array with 'value', 'summary' if there is a shorter summary and 'format' the Radar internal name of the filter format used.

Returns

array

getCategoriesRaw()

getCategoriesRaw() 

getTopicsRaw()

getTopicsRaw() 

getUrlView()

getUrlView() : string

URL for the event on the site.

Returns

string

getUrlEdit()

getUrlEdit() : string

URL to edit the event on the site.

Returns

string

getStatus()

getStatus() : boolean

Published status.

Returns

boolean —

TRUE if published.

getCreated()

getCreated() : \DateTime

Created time.

Returns

\DateTime

getUpdated()

getUpdated() : \DateTime

Last updated time.

Returns

\DateTime

getLanguage()

getLanguage() : string

Language code for entity version.

The entity may be available in other languages. This is the language code for the present version.

Returns

string

className()

className(  $type) 

TODO move this to the controller Connect class.

Parameters

$type

getUuid()

getUuid() : string|null

Return the UUID for the entity.

Returns

string|null

getVuuid()

getVuuid() : string|null

Return the Version UUID for the entity.

Returns

string|null

getInternalId()

getInternalId() : integer|null

Return the Drupal internal ID for the entity.

Returns

integer|null

getInternalVid()

getInternalVid() : integer|null

Return the Drupal internal version ID for the entity.

Returns

integer|null

getGroupsRaw()

getGroupsRaw() 

getGroups()

getGroups() : array<mixed,\Radar\Connect\Entity\Group>

Return associated groups as group entities.

Returns

array<mixed,\Radar\Connect\Entity\Group>

getDatesRaw()

getDatesRaw() : array

Return raw event date array.

An array of keyed arrays.

Array[] ['value'] start unix timestamp ['value2'] end unix timestamp ['time_start'] start ISO 8601 time with timezone ['time_end'] end ISO 8601 time with timezone ['rrule'] RFC5545 iCalendar repeat rule

Returns

array

getDates()

getDates() : array

Return event date.

An array of keyed arrays.

Array[] ['start'] \DateTime start ['end'] \DateTime|null end ['rrule'] RFC 5545 iCalendar repeat rule

Returns

array

getImageRaw()

getImageRaw() 

Return image field data.

TODO API isn't putting the data into the output.

getPrice()

getPrice() : array<mixed,string>

Return the price.

This is a multiple text field with defaults 'free entrance', 'by donation', 'membership fee', and free text.

Returns

array<mixed,string> —

Array of strings describing price.

getPriceRaw()

getPriceRaw() 

getEmail()

getEmail() : string

Return email.

Returns

string

getEmailRaw()

getEmailRaw() 

getLink()

getLink() : array<mixed,string>

Return array of url links for the event.

Returns

array<mixed,string>

getLinkRaw()

getLinkRaw() : array

Return array of array url links for the event.

Keyed with 'url', and unused 'attributes'.

Returns

array

getLocationsRaw()

getLocationsRaw() 

getLocations()

getLocations() : array<mixed,\Radar\Connect\Entity\Location>

Return event locations.

Returns

array<mixed,\Radar\Connect\Entity\Location>

getPhone()

getPhone() : string

Return phone number.

Returns

string

getPhoneRaw()

getPhoneRaw()