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

$group_logo

$group_logo : 

Type

$image

$image : 

Type

$email

$email : 

Type

$link

$link : 

Type

$offline

$offline : 

Type

$opening_times

$opening_times : 

Type

$phone

$phone : 

Type

$apiUri

$apiUri : 

Type

$apiBase

$apiBase : 

Type

Methods

__construct()

__construct(  $data = array()) 

Parameters

$data

set()

set(array  $data) 

Set data for entity.

Parameters

array $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

getGroupLogoRaw()

getGroupLogoRaw() 

TODO not appearing in the API output.

getImageRaw()

getImageRaw() 

TODO not appearing in the API output.

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

getLocations()

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

Return group locations.

Returns

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

getLocationsRaw()

getLocationsRaw() 

getPhone()

getPhone() : string

Return phone number.

Returns

string

getPhoneRaw()

getPhoneRaw() 

getOpeningTimes()

getOpeningTimes() : string

Free text description of opening times.

Returns

string

getOpeningTimesRaw()

getOpeningTimesRaw() 

Free text description of opening times.

Keyed array with 'value', and 'format' the Radar internal name of the filter format used.