nerdexam
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)
  • B
    72% (13)
  • C
    6% (1)
  • D
    17% (3)
  • E
    6% (1)

Explanation

Magento M70-301 Exam

Topics

#getChildHtml#CMS block#template PHP#block output

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice