You are here

public function RedhenEngagement::__construct in RedHen CRM 7

Override parent constructor.

Parameters

array $values: Associative array of entity values.

Overrides Entity::__construct

File

modules/redhen_engagement/lib/redhen_engagement.entity.inc, line 30
RedhenEngagement entity classes

Class

RedhenEngagement
The class used for note entities.

Code

public function __construct(array $values = array()) {
  parent::__construct($values, 'redhen_engagement');
  if (!$this->engagement_id) {
    $this->created = REQUEST_TIME;
  }
}