ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
__construct (OrgUnitUserService $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null) | |
getId () | |
getTitle () | |
getDescription () | |
getSpecificPlaceholders () | |
Return an array of placeholders. More... | |
![]() | |
__construct (OrgUnitUserService $orgUnitUserService=null, ilMailEnvironmentHelper $envHelper=null, ilMailUserHelper $usernameHelper=null, ilMailLanguageHelper $languageHelper=null) | |
getLanguage () | |
getId () | |
getTitle () | |
getDescription () | |
getPlaceholders () | |
getSpecificPlaceholders () | |
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' |
Protected Member Functions | |
getLatestAssignment (array $assignments) | |
getLatestSuccessfulAssignment (array $assignments) | |
statusToRepr (int $status, string $lang) | |
date2String (DateTimeImmutable $date_time=null, ilObjUser $user=null) | |
![]() | |
initLanguage (ilObjUser $user) | |
initLanguageByIso2Code (string $isoCode) | |
Protected Attributes | |
ilLanguage | $lng |
![]() | |
ilLanguage | $language |
ilMailEnvironmentHelper | $envHelper |
ilMailLanguageHelper | $languageHelper |
ilMailUserHelper | $userHelper |
OrgUnitUserService | $orgUnitUserService |
Private Attributes | |
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' |
Definition at line 23 of file class.ilStudyProgrammeMailTemplateContext.php.
ilStudyProgrammeMailTemplateContext::__construct | ( | OrgUnitUserService | $orgUnitUserService = null , |
ilMailEnvironmentHelper | $envHelper = null , |
||
ilMailUserHelper | $usernameHelper = null , |
||
ilMailLanguageHelper | $languageHelper = null |
||
) |
Definition at line 45 of file class.ilStudyProgrammeMailTemplateContext.php.
References $DIC, ilMailTemplateContext\$envHelper, ilMailTemplateContext\$languageHelper, ilMailTemplateContext\$orgUnitUserService, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
|
protected |
Definition at line 329 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by getSpecificPlaceholders().
ilStudyProgrammeMailTemplateContext::getDescription | ( | ) |
Definition at line 74 of file class.ilStudyProgrammeMailTemplateContext.php.
References ILIAS\Repository\lng().
ilStudyProgrammeMailTemplateContext::getId | ( | ) |
Definition at line 64 of file class.ilStudyProgrammeMailTemplateContext.php.
|
protected |
Definition at line 266 of file class.ilStudyProgrammeMailTemplateContext.php.
References Vendor\Package\$a, Vendor\Package\$b, and ilPRGAssignment\getProgressTree().
Referenced by getSpecificPlaceholders().
|
protected |
Definition at line 282 of file class.ilStudyProgrammeMailTemplateContext.php.
References Vendor\Package\$a, Vendor\Package\$b, and ilPRGAssignment\getProgressTree().
Referenced by getSpecificPlaceholders().
ilStudyProgrammeMailTemplateContext::getSpecificPlaceholders | ( | ) |
Return an array of placeholders.
Definition at line 82 of file class.ilStudyProgrammeMailTemplateContext.php.
References $id, $ref_id, ilObject\_exists(), ilLink\_getLink(), ilObject\_lookupDeletedDate(), ilObjUser\_lookupLogin(), ilContainerReference\_lookupTargetRefId(), ilContainerReference\_lookupTitle(), date2String(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), getLatestAssignment(), getLatestSuccessfulAssignment(), ILIAS\Repository\lng(), ilObjUser\lookupOrgUnitsRepresentation(), ilMailTemplateContext\resolveSpecificPlaceholder(), and statusToRepr().
ilStudyProgrammeMailTemplateContext::getTitle | ( | ) |
Definition at line 69 of file class.ilStudyProgrammeMailTemplateContext.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 308 of file class.ilStudyProgrammeMailTemplateContext.php.
References ILIAS\Repository\lng(), ilPRGProgress\STATUS_ACCREDITED, ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_FAILED, ilPRGProgress\STATUS_IN_PROGRESS, and ilPRGProgress\STATUS_NOT_RELEVANT.
Referenced by getSpecificPlaceholders().
|
protected |
Definition at line 43 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 34 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 33 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 41 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 37 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 28 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 38 of file class.ilStudyProgrammeMailTemplateContext.php.
const ilStudyProgrammeMailTemplateContext::ID = 'prg_context_manual' |
Definition at line 25 of file class.ilStudyProgrammeMailTemplateContext.php.
Referenced by ilStudyProgrammeMailMemberSearchGUI\generateContextArray().
|
private |
Definition at line 30 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 31 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 36 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 35 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 32 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 27 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 29 of file class.ilStudyProgrammeMailTemplateContext.php.
|
private |
Definition at line 39 of file class.ilStudyProgrammeMailTemplateContext.php.