Câu 31: M70-201: Magento Certified Developer Plus
Which two of the following will return an instance of a block object? (Choose two)
Nội dung câu hỏi
Which two of the following will return an instance of a block object? (Choose two)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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'); — đáp án hiện tại
- E. Mage::getLayout()->createBlock('page/html_header');
- F. Mage::app()->getLayout()->createBlock('page/html_header')->setTemplate('page/html/header=phtml'); — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.