本文整理汇总了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;
}
示例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();
}
示例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;
}
示例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");
}
示例5: __construct
public function __construct(User $user, $userSession = null)
{
$this->user = $user;
$this->userSession = $userSession;
parent::__construct(Configuration::Instance()->GetKey(ConfigKeys::LANGUAGE));
}
示例6: __construct
public function __construct(ReminderNotice $reminder)
{
$this->reminder = $reminder;
parent::__construct($reminder->Language());
}
示例7: __construct
public function __construct(User $user, $activationCode)
{
$this->user = $user;
$this->activationCode = $activationCode;
parent::__construct($user->Language());
}
示例8: __construct
public function __construct(User $user, $temporaryPassword)
{
parent::__construct($user->Language());
$this->user = $user;
$this->temporaryPassword = $temporaryPassword;
}