Esempio n. 1
0
 /**
  * Fetch one or more quotes by a customer's email address.
  *
  * @param string $email
  * @return array Array of Model_Insurance_LegacyQuote
  */
 public function getQuotesByEmail($email)
 {
     if (null == $this->_legacyQuotes) {
         $this->_legacyQuotes = new Datasource_Insurance_LegacyQuotes();
     }
     return $this->_legacyQuotes->getByEmail($email);
 }