_getFromDbSelect($orderId); $select->reset(Zend_Db_Select::COLUMNS)->columns(new Zend_Db_Expr('"1"')); $select->where('`Cart`.`userId` = ?', $userId); return ($this->_db->fetchOne($select) != false); } }