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') ;
Correct Answer:
Verified
Q37: Among other directives, your module's layout xml
Q38: Which of the following could be used
Q39: What can you do in order to
Q40: In which order are the following methods
Q41: The value of the config/placeholders/ [placeholder_id] /block
Q43: Which of the following node names may
Q44: You need to implement private sales utilizing
Q45: In order to successfully register and configure
Q46: Which of the following allows you to
Q47: You want to display a grid for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents