Briefing Magento Knowledge

Which of the following allows you to render a custom fo…

Which of the following allows you to render a custom form element using a template?

A.
Specify ‘template’ => ‘path/to/your/template’ in the addFieId method’s third parameter when configuring theform.

B.
Set the template manually by calling $form->getElement () ->setTemplate (..) when configuring the form.

C.
Specify the template in the element’s protected variable $_template.

D.
Create a custom renderer for the form element, and use an anonymous block to execute the template in it.

E.
Extend your element from Mage_Core_Block_Template, and then specify the template in the constructor.