public function SerialFields::__construct in Serial Field 7
Set field definitions.
Parameters
array[] $fields: An associative array where keys - field names and values - definition.
File
- tests/
serial.fields.inc, line 21 - Serial (Fields Helper).
Class
- SerialFields
- Class SerialFields.
Code
public function __construct(array $fields) {
$this->fields = $fields;
}