1
public function getItemsCollection($useCache = true)
{
if (is_null($this->_items)) {
$this->_items = Mage::getModel('sales/quote_item')->getCollection();
$this->_items->setQuote($this);
}
return $this->_items;
}
在这个范围内,我怎么才能找到什么是初始化_items?这不是我碰到的Magento对象。如何或在哪里,这个对象被初始化?
Unix平台......他们只是一个大的IDE –
不-是坏的答案,但在Magento至少有三种不同的方法来初始化这样一个变量,它是通过不同的setter函数访问... – feeela