nerdexam
Magento

M70-201 · Question #65

Which of the following methods will force an EAV resource collection model to include an attribute in its result set?

The correct answer is A. addAttributeToSelect($attribute). See the full explanation below for the reasoning.

Question

Which of the following methods will force an EAV resource collection model to include an attribute in its result set?

Options

  • AaddAttributeToSelect($attribute);
  • BgetResource()->addAttribute($attribute);
  • CaddFieldToSelect($attribute);
  • DgetSelect()->from(`', $attribute);
  • EaddAttributeToCollection($attribute);

How the community answered

(22 responses)
  • A
    86% (19)
  • D
    5% (1)
  • E
    9% (2)

Community Discussion

No community discussion yet for this question.

Full M70-201 Practice