Beispiel #1
0
 /**
  * Clear the default transport property
  */
 public static function clearDefaultTransport()
 {
     self::$_defaultTransport = null;
 }
Beispiel #2
0
 /**
  * Sets the default mail transport for all following uses of
  * Zend_Mail::send();
  *
  * @todo Allow passing a string to indicate the transport to load
  * @todo Allow passing in optional options for the transport to load
  * @param  Zend_Mail_Transport_Abstract $transport
  */
 public static function setDefaultTransport(Zend_Mail_Transport_Abstract $transport)
 {
     self::$_defaultTransport = $transport;
 }
Beispiel #3
0
 /**
  * sets the default Zend_Mail_Transport_Interface for all following
  * uses of Zend_Mail::send();
  *
  * @param  Zend_Mail_Transport_Interface $transport
  */
 public static function setDefaultTransport(Zend_Mail_Transport_Interface $transport)
 {
     self::$_defaultTransport = $transport;
 }