Which of the following options would cause a poll/poll collection to load all entities that have been posted during April, 2011?

Which of the following options would cause a poll/poll collection to load all entities that have been posted during April, 2011?
A. $collection->addAttributeToFilter(‘date_posted’, array(‘from’ => ‘2011-04-01’, ‘to’ => ‘2011-04-30’) );
B. $collection->addFieldToFilter(‘date_posted’, array(‘from’ => ‘2011-04-01’, ‘to’ => ‘2011-04-30’) );
C. $collection->addPostDateFilter(‘2011-04-01’, ‘2011-04-30’);
D. $collection->addFieldToSelect((‘date_posted’, arrayCfrom’ => ‘2011-04-01’, ‘to’ => ‘2011-04-30’) );

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.