<?php
/**
*
*/
/** Rend_Controller_Action_Helper_Abstract */
require_once 'Zend/Controller/Action/Helper/Abstract.php';
/**
*
*/
class Rend_Controller_Action_Helper_MailTransport extends
Zend_Controller_Action_Helper_Abstract
{
/**
* Mail Transport object
* @var Zend_Mail_Transport_Abstract
*/
private $_mailTransport;
/**
* Get the mail transport object
*
* @return Zend_Mail_Transport_Abstract
*/
public function direct()
{
return $this->getMailTransport();
}
/**
* Get the mail transport object
*
* @return Zend_Mail_Transport_Abstract
*/
public function getMailTransport()
{
if (!$this->_mailTransport) {
$this->_mailTransport =
$this->getActionController()->getInvokeArg('rendFactoryLoader')->mailtransport()
;
}
return $this->_mailTransport;
}
}
Original issue reported on code.google.com by konrn...@gmail.com on 3 Dec 2008 at 5:12
Original issue reported on code.google.com by
konrn...@gmail.com
on 3 Dec 2008 at 5:12