nerdexam
Magento

M70-201 · Question #3

Which two of the following methods can be used to load an entity's data from its configured data table? (Choose two)

The correct answer is B. $entityModel->load($attributeValue, $attributeCode) E. $entityModel->load($id). See the full explanation below for the reasoning.

Question

Which two of the following methods can be used to load an entity's data from its configured data table? (Choose two)

Options

  • A$entityModel->loadEntity($id)
  • B$entityModel->load($attributeValue, $attributeCode)
  • C$entityModel->loadById($id)
  • D$entityModel->loadEntity($attributeCode, $attributeValue)
  • E$entityModel->load($id)

How the community answered

(41 responses)
  • A
    10% (4)
  • B
    73% (30)
  • C
    12% (5)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full M70-201 Practice