function __construct($id) { parent::__construct($id); $this->template_name = 'pages/gmaps/view.tpl'; }
/** * Construct the field. * @param label The label to display. * @param key The key for data extraction. */ public function __construct($label, $key) { parent::__construct($label); $this->key = $key; }
function __construct($id) { parent::__construct($id); $this->title = "Edit Field: {$this->field->fullname}"; }