ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (OrgUnitUserService $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null) | |
ilMailTemplateContext constructor. More... | |
getId () | |
getTitle () | |
getDescription () | |
getSpecificPlaceholders () | |
Return an array of placeholders. More... | |
![]() | |
__construct (OrgUnitUserService $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null) | |
ilMailTemplateContext constructor. More... | |
getLanguage () | |
getId () | |
Returns a unique (in the context of mail template contexts) id. More... | |
getTitle () | |
Returns a translated title (depending on the current language) which is displayed in the user interface. More... | |
getDescription () | |
Returns a translated description (depending on the current language) which is displayed in the user interface. More... | |
getPlaceholders () | |
Return an array of placeholders. More... | |
getSpecificPlaceholders () | |
Return an array of placeholders. More... | |
resolveSpecificPlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false) | |
resolvePlaceholder (string $placeholder_id, array $context_parameters, ilObjUser $recipient=null, bool $html_markup=false) | |
Data Fields | |
const | ID = 'prg_context_manual' |
const | TITLE = "prg_title" |
const | DESCRIPTION = "prg_description" |
const | TYPE = "prg_type" |
const | LINK = "prg_link" |
const | ORG_UNIT = "prg_orgus" |
const | STATUS = "prg_status" |
const | COMPLETION_DATE = "prg_completion_date" |
const | COMPLETED_BY = "prg_completion_by" |
const | POINTS_REQUIRED = "prg_points_required" |
const | POINTS_CURRENT = "prg_points_current" |
const | DEADLINE = "prg_deadline" |
const | EXPIRE_DATE = "prg_expiry_date" |
const | VALIDITY = "prg_validity" |
const | DATE_FORMAT = 'd-m-Y H:i:s' |
Protected Member Functions | |
getNewestProgressForUser (ilObjStudyProgramme $obj, int $user_id) | |
statusToRepr (int $status, string $lang) | |
date2String (DateTimeImmutable $date_time=null) | |
![]() | |
initLanguage (ilObjUser $user) | |
initLanguageByIso2Code (string $isoCode) | |
Protected Attributes | |
$lng | |
![]() | |
$language | |
$envHelper | |
$languageHelper | |
$userHelper | |
$orgUnitUserService | |
Definition at line 7 of file class.ilStudyProgrammeMailTemplateContext.php.
ilStudyProgrammeMailTemplateContext::__construct | ( | OrgUnitUserService | $orgUnitUserService = null , |
ilMailEnvironmentHelper | $envHelper = null , |
||
ilMailUserHelper | $usernameHelper = null , |
||
ilMailLanguageHelper | $languageHelper = null |
||
) |
ilMailTemplateContext constructor.
OrgUnitUserService | null | $orgUnitUserService | |
ilMailEnvironmentHelper | null | $envHelper | |
ilMailUserHelper | null | $usernameHelper | |
ilMailLanguageHelper | null | $languageHelper |
Reimplemented from ilMailTemplateContext.
Definition at line 32 of file class.ilStudyProgrammeMailTemplateContext.php.
References $DIC, ilMailTemplateContext\$envHelper, ilMailTemplateContext\$languageHelper, ilMailTemplateContext\$orgUnitUserService, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 309 of file class.ilStudyProgrammeMailTemplateContext.php.
ilStudyProgrammeMailTemplateContext::getDescription | ( | ) |
Reimplemented from ilMailTemplateContext.
Definition at line 70 of file class.ilStudyProgrammeMailTemplateContext.php.
ilStudyProgrammeMailTemplateContext::getId | ( | ) |
Reimplemented from ilMailTemplateContext.
Definition at line 54 of file class.ilStudyProgrammeMailTemplateContext.php.
References ID.
|
protected |
Definition at line 263 of file class.ilStudyProgrammeMailTemplateContext.php.
References Vendor\Package\$a, Vendor\Package\$b, and ilObjStudyProgramme\getProgressesOf().
ilStudyProgrammeMailTemplateContext::getSpecificPlaceholders | ( | ) |
Return an array of placeholders.
Reimplemented from ilMailTemplateContext.
Definition at line 79 of file class.ilStudyProgrammeMailTemplateContext.php.
References COMPLETED_BY, COMPLETION_DATE, DEADLINE, DESCRIPTION, EXPIRE_DATE, LINK, ORG_UNIT, POINTS_CURRENT, POINTS_REQUIRED, STATUS, TITLE, TYPE, and VALIDITY.
ilStudyProgrammeMailTemplateContext::getTitle | ( | ) |
Reimplemented from ilMailTemplateContext.
Definition at line 62 of file class.ilStudyProgrammeMailTemplateContext.php.
|
protected |
Definition at line 288 of file class.ilStudyProgrammeMailTemplateContext.php.
References $lang, ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, ilStudyProgrammeProgress\STATUS_FAILED, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.
|
protected |
Definition at line 30 of file class.ilStudyProgrammeMailTemplateContext.php.
const ilStudyProgrammeMailTemplateContext::COMPLETED_BY = "prg_completion_by" |
Definition at line 18 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::COMPLETION_DATE = "prg_completion_date" |
Definition at line 17 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::DATE_FORMAT = 'd-m-Y H:i:s' |
Definition at line 25 of file class.ilStudyProgrammeMailTemplateContext.php.
const ilStudyProgrammeMailTemplateContext::DEADLINE = "prg_deadline" |
Definition at line 21 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::DESCRIPTION = "prg_description" |
Definition at line 12 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::EXPIRE_DATE = "prg_expiry_date" |
Definition at line 22 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::ID = 'prg_context_manual' |
Definition at line 9 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by ilStudyProgrammeMailMemberSearchGUI\generateContextArray(), and getId().
const ilStudyProgrammeMailTemplateContext::LINK = "prg_link" |
Definition at line 14 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::ORG_UNIT = "prg_orgus" |
Definition at line 15 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::POINTS_CURRENT = "prg_points_current" |
Definition at line 20 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::POINTS_REQUIRED = "prg_points_required" |
Definition at line 19 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::STATUS = "prg_status" |
Definition at line 16 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::TITLE = "prg_title" |
Definition at line 11 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::TYPE = "prg_type" |
Definition at line 13 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
const ilStudyProgrammeMailTemplateContext::VALIDITY = "prg_validity" |
Definition at line 23 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().