public function CommerceFileLicenseEntity::__construct in Commerce File 7
Overridden __construct()
- set fixed entity type
- initialize fields
Overrides Entity::__construct
File
- includes/
commerce_file_license.entity.inc, line 49 - Provides a base class for CommerceFileLicenseEntity.
Class
- CommerceFileLicenseEntity
- A Commerce File License entity class.
Code
public function __construct($values = array(), $entityType = NULL) {
parent::__construct($values, COMMERCE_FILE_LICENSE_ENTITY_NAME);
$this
->_init_fields();
}