本文整理汇总了PHP中ilSetting::_lookupValue方法的典型用法代码示例。如果您正苦于以下问题:PHP ilSetting::_lookupValue方法的具体用法?PHP ilSetting::_lookupValue怎么用?PHP ilSetting::_lookupValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilSetting
的用法示例。
在下文中一共展示了ilSetting::_lookupValue方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* @param srCertificate $certificate
*/
public function __construct(srCertificate $certificate)
{
parent::__construct($certificate);
$this->setEmail(ilSetting::_lookupValue('common', 'admin_email'));
$this->setSubject($this->pl->txt('disk_space_warning_mail_subject'));
$this->setBody(sprintf($this->pl->txt('disk_space_warning_mail_message'), disk_free_space($this->certificate->getCertificatePath())));
}
开发者ID:studer-raimann,项目名称:Certificate,代码行数:10,代码来源:class.srCertificateDiskSpaceWarningNotification.php
示例2: __construct
/**
* @param srCertificate $certificate
* @param string $email
*/
public function __construct(srCertificate $certificate, $email = '')
{
parent::__construct($certificate, $email);
$this->setEmail(ilSetting::_lookupValue('common', 'admin_email'));
$this->setSubject($this->pl->txt('cert_failed_subject'));
$parser = srCertificatePlaceholdersParser::getInstance();
$body = $parser->parse($this->pl->txt('cert_failed_message'), $this->certificate->getPlaceholders());
$this->setBody($body);
}