コード例 #1
0
 public function __construct(Tx_Formhandler_Component_Manager $componentManager, Tx_Formhandler_Configuration $configuration)
 {
     parent::__construct($componentManager, $configuration);
     require_once t3lib_extMgm::extPath('formhandler') . 'Resources/PHP/class.formhandler_htmlmail.php';
     $this->emailObj = t3lib_div::makeInstance('formhandler_htmlmail');
     $this->emailObj->start();
 }
コード例 #2
0
 public function __construct(Tx_Formhandler_Component_Manager $componentManager, Tx_Formhandler_Configuration $configuration, Tx_Formhandler_Globals $globals, Tx_Formhandler_UtilityFuncs $utilityFuncs)
 {
     parent::__construct($componentManager, $configuration, $globals, $utilityFuncs);
     require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('formhandler') . 'Resources/PHP/class.formhandler_htmlmail.php';
     $this->emailObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('formhandler_htmlmail');
     $this->emailObj->start();
 }
コード例 #3
0
 /**
  * Initializes the email object and calls the parent constructor
  *
  * @param Tx_Formhandler_Component_Manager $componentManager
  * @param Tx_Formhandler_Configuration $configuration
  * @param Tx_Formhandler_Globals $globals
  * @param Tx_Formhandler_UtilityFuncs $utilityFuncs
  */
 public function __construct(Tx_Formhandler_Component_Manager $componentManager, Tx_Formhandler_Configuration $configuration, Tx_Formhandler_Globals $globals, Tx_Formhandler_UtilityFuncs $utilityFuncs)
 {
     parent::__construct($componentManager, $configuration, $globals, $utilityFuncs);
     $this->emailObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Mail\\MailMessage');
 }