本文整理匯總了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);
}