Properties

$drupalId

$drupalId : 

Type

$drupalVersionId

$drupalVersionId : 

Type

$uuid

$uuid : 

Type

$vuuid

$vuuid : 

Type

$type

$type : 

Type

$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

$apiUri

$apiUri : 

Type

$apiBase

$apiBase : 

Type

Methods

className()

className(  $type) 

TODO move this to the controller Connect class.

Parameters

$type

__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

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

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