public function load($printQuery = false, $logQuery = false) { if ($this->isLoaded()) { return $this; } parent::load($printQuery, $logQuery); if ($this->_items) { foreach ($this->_items as $index => $item) { if ($this->_isValidItem($item)) { $item->setStoreId($this->_storeId); $item->loadDefaults(); } else { unset($this->_items[$index]); } } } return $this; }