/** * Count how many products are on this quote * * @return int Count of products */ public function productCount() { $quoteProducts = new Datasource_Insurance_Quote_Products(); $productCount = $quoteProducts->getCountByQuoteID($this->_quoteModel->ID); // Return product count return $productCount; }