_joinProduct($select); return $select; } protected function _filter(Zend_Db_Select $select) { parent::_filter($select); $select->where('`' . $this->_tableAlias . '`.`statusId` = ?', Entity::STATUS_APPROVED); $select->where('`' . $this->_tableAlias . '`.`productId` = ?', $this->getProductId(), Qs_Db::INT_TYPE); return $this; } public function getObjectInfo() { $data = parent::getObjectInfo(); if ($data) { $data['itemTitle'] = $data['name'] . ' (' . date('M j, Y @ h:i A ') . ')'; } return $data; } }