當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。