You are here

public function FormAssemblyEntity::updateData in FormAssembly 7

Fully update the entity with new data obtained from FormAssembly.

The Form Assembly ID (faid) is persistent.

Parameters

array $data: An array of values to set

File

includes/FormAssemblyEntity.php, line 53
An Entity class for the FormAssembly entity

Class

FormAssemblyEntity
@file An Entity class for the FormAssembly entity

Code

public function updateData($data) {
  $this->modified = $data['modified'];
  $this->name = $data['name'];
}