You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to $collection->addFieldToFilter ('sku', ____________ ) ; Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)
A) array ('sku' => 12, 'sku' => 123)
B) array (array ('eq' => 12) , array ('eq' => 123) )
C) array (12 => true, 123 => true) '
D) array (12, 123)
E) array (array ('int' => 12) , array ('int' => 123) )
Correct Answer:
Verified
Q51: Which two EAV attribute frontend_input types make
Q52: Given a grid interface that extends from
Q53: What does Magento use to determine whether
Q54: Which of the following layout XML directives
Q55: Which of the following methods will force
Q57: How can you make a payment method
Q58: What is the basic class/interface for every
Q59: When the Magento configuration is being loaded,
Q60: You want to implement a custom attribute
Q61: To register a new API resource, what
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents