Magento
M70-301 · Question #101
What is the correct PHP code for adding the output of a CMS block to a template?
The correct answer is B. $this->getchildHtml(`myCmsEloclc'). Magento M70-301 Exam
Template Files
Question
What is the correct PHP code for adding the output of a CMS block to a template?
Options
- A$this->getchildcms (`myCmsBlock')
- B$this->getchildHtml(`myCmsEloclc')
- C$this->getChildBlock (`myCmsBlock')
- D$this->getcrnsHtml(`myCmsElock')
- E$this->getHtml(`myCmsBlock')
How the community answered
(18 responses)- B72% (13)
- C6% (1)
- D17% (3)
- E6% (1)
Explanation
Magento M70-301 Exam
Topics
#getChildHtml#CMS block#template PHP#block output
Community Discussion
No community discussion yet for this question.