- 'data'=>array(CustomFields::TYPE_TEXT=>$i18n->getKey('label.type_text'),
- CustomFields::TYPE_DROPDOWN=>$i18n->getKey('label.type_dropdown'))));
- $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->getKey('button.save')));
+ 'data'=>array(CustomFields::TYPE_TEXT=>$i18n->get('label.type_text'),
+ CustomFields::TYPE_DROPDOWN=>$i18n->get('label.type_dropdown'))));
+ $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save')));