class PartyActivity in Party 8.2
Same name and namespace in other branches
- 7 modules/party_activity/party_activity.entity.inc \PartyActivity
The class used for Party Activity Entities
Hierarchy
- class \Entity
- class \PartyActivity
Expanded class hierarchy of PartyActivity
1 string reference to 'PartyActivity'
- party_activity_entity_info in modules/
party_activity/ party_activity.module - Implements hook_entity_info().
File
- modules/
party_activity/ party_activity.entity.inc, line 9 - Entity and Controller classes for the Party Activity entity
View source
class PartyActivity extends Entity {
public function __construct($values = array()) {
parent::__construct($values, 'party_activity');
}
protected function defaultLabel() {
return $this->title;
}
protected function defaultUri() {
return array(
'path' => 'activity/' . $this->party_activity_id,
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PartyActivity:: |
protected | function | ||
PartyActivity:: |
protected | function | ||
PartyActivity:: |
public | function |