当前位置: 首页>>代码示例>>PHP>>正文


PHP EmailMessage::__construct方法代码示例

本文整理汇总了PHP中EmailMessage::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP EmailMessage::__construct方法的具体用法?PHP EmailMessage::__construct怎么用?PHP EmailMessage::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在EmailMessage的用法示例。


在下文中一共展示了EmailMessage::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct(User $deletedUser, UserDto $to, UserSession $userSession)
 {
     parent::__construct($to->LanguageCode);
     $this->deletedUser = $deletedUser;
     $this->to = $to;
     $this->userSession = $userSession;
 }
开发者ID:JoseTfg,项目名称:Booked,代码行数:7,代码来源:AccountDeletedEmail.php

示例2: __construct

 /**
  * @param UserDto $adminDto
  * @param User $reservationOwner
  * @param ReservationSeries $reservationSeries
  * @param IResource $primaryResource
  * @param IAttributeRepository $attributeRepository
  */
 public function __construct(UserDto $adminDto, User $reservationOwner, ReservationSeries $reservationSeries, IResource $primaryResource, IAttributeRepository $attributeRepository)
 {
     parent::__construct($adminDto->Language());
     $this->adminDto = $adminDto;
     $this->reservationOwner = $reservationOwner;
     $this->reservationSeries = $reservationSeries;
     $this->resource = $primaryResource;
     $this->attributeRepository = $attributeRepository;
     $this->timezone = $adminDto->Timezone();
 }
开发者ID:Trideon,项目名称:gigolo,代码行数:17,代码来源:ReservationCreatedEmailAdmin.php

示例3: __construct

 public function __construct(User $reservationOwner, ReservationSeries $reservationSeries, $language = null, IAttributeRepository $attributeRepository)
 {
     if (empty($language)) {
         $language = $reservationOwner->Language();
     }
     parent::__construct($language);
     $this->reservationOwner = $reservationOwner;
     $this->reservationSeries = $reservationSeries;
     $this->timezone = $reservationOwner->Timezone();
     $this->attributeRepository = $attributeRepository;
 }
开发者ID:hugutux,项目名称:booked,代码行数:11,代码来源:ReservationEmailMessage.php

示例4: __construct

 /**
  * @param IGeneratedSavedReport $report
  * @param IReportDefinition $definition
  * @param string $toAddress
  * @param UserSession $reportUser
  */
 public function __construct($report, $definition, $toAddress, $reportUser)
 {
     parent::__construct($reportUser->LanguageCode);
     $this->to = $toAddress;
     $this->reportUser = $reportUser;
     $this->Set('Definition', $definition);
     $this->Set('Report', $report);
     $contents = $this->FetchTemplate('Reports/custom-csv.tpl');
     $name = $report->ReportName();
     if (!empty($name)) {
         $this->name = $name;
     }
     $this->AddStringAttachment($contents, "{$this->name}.csv");
 }
开发者ID:hugutux,项目名称:booked,代码行数:20,代码来源:ReportEmailMessage.php

示例5: __construct

 public function __construct(User $user, $userSession = null)
 {
     $this->user = $user;
     $this->userSession = $userSession;
     parent::__construct(Configuration::Instance()->GetKey(ConfigKeys::LANGUAGE));
 }
开发者ID:JoseTfg,项目名称:Booked,代码行数:6,代码来源:AccountCreationEmail.php

示例6: __construct

 public function __construct(ReminderNotice $reminder)
 {
     $this->reminder = $reminder;
     parent::__construct($reminder->Language());
 }
开发者ID:ViraSoftware,项目名称:booked,代码行数:5,代码来源:ReminderEmail.php

示例7: __construct

 public function __construct(User $user, $activationCode)
 {
     $this->user = $user;
     $this->activationCode = $activationCode;
     parent::__construct($user->Language());
 }
开发者ID:hugutux,项目名称:booked,代码行数:6,代码来源:AccountActivationEmail.php

示例8: __construct

 public function __construct(User $user, $temporaryPassword)
 {
     parent::__construct($user->Language());
     $this->user = $user;
     $this->temporaryPassword = $temporaryPassword;
 }
开发者ID:hugutux,项目名称:booked,代码行数:6,代码来源:ForgotPasswordEmail.php


注:本文中的EmailMessage::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。