Question:Which of the following will get information ('customer_referrer_id') from a currently logged-in admin user? 

A $collection->addAttributeToFilter('customer_referrer_id', $referrer_id); $referrer_id = Mage::getSingleton('admin/session')->getUser()->getId(); 

B $collection->addAttributeToSelection('customer_referrer_id', $referrer_id); $referrer_id = Mage::getSingleton('admin/session')->getUser()->getId(); 

C $collection->addAttributeToFilter('customer_referrer_id', $referrer_id); $referrer_id = getSingleton('admin/session')->getUser()->getId(); 

D None 

+ Answer
+ Report
Total Preview: 1020

Copyright © 2024. Powered by Intellect Software Ltd