You are here

public function Notifications_Field::__construct in Notifications 7

Constructor

File

./notifications.field.inc, line 33
Drupal Notifications Framework - Default class file

Class

Notifications_Field
Base class for Notifications fields

Code

public function __construct($template = array()) {
  foreach ((array) $template as $field => $value) {
    $this->{$field} = $value;
  }
}