LSformElement : provide class name of element in template variables

This commit is contained in:
Benjamin Renard 2014-11-20 00:31:08 +01:00
parent 78d68951e2
commit 391018e492

View file

@ -287,7 +287,8 @@ class LSformElement {
'values' => $this -> values,
'attr_name' => $this -> name,
'noValueTxt' => ( (isset($this -> params['no_value_label']))? __($this -> params['no_value_label']):_('No set value') ),
'fieldTemplate' => $this -> fieldTemplate
'fieldTemplate' => $this -> fieldTemplate,
'fieldType' => get_class($this)
)
)
);