/** * Clear the default transport property */ public static function clearDefaultTransport() { self::$_defaultTransport = null; }
/** * 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; }
/** * 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; }