Which two of the following will return an instance of a block object?

Which two of the following will return an instance of a block object? (Choose two)
A. Mage::getBlock(‘page/html_header’);
B. Mage::app()->createBlock(‘page/html_header’);
C. Mage::createBlock(‘page/html_header’);
D. Mage::app()->getLayout()->createBlock(‘page/html_header’);
E. Mage::getLayout()->createBlock(‘page/html_header’);
F. Mage::app()->getLayout()->createBlock(‘page/html_header’)- >setTemplate(‘page/html/header=phtml’);

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.