39     public function __construct(
object $a_parent_obj, 
string $a_parent_cmd)
    43         $this->
user = $DIC->user();
    47         $this->
setRowTemplate(
'tpl.calendar_inbox_shared_row.html', 
'components/ILIAS/Calendar');
    50         $this->
addColumn($this->
lng->txt(
'name'), 
'title', 
'50%');
    51         $this->
addColumn($this->
lng->txt(
'cal_apps'), 
'apps', 
'20%');
    52         $this->
addColumn($this->
lng->txt(
'create_date'), 
'create_date', 
'20%');
    53         $this->
addColumn($this->
lng->txt(
'cal_accepted'), 
'accepted', 
'5%');
    61         $this->
setTitle($this->
lng->txt(
'cal_shared_calendars'));
    65     protected function fillRow(array $a_set): void
    67         $this->tpl->setVariable(
'VAL_ID', $a_set[
'cal_id']);
    68         $this->tpl->setVariable(
'CALENDAR_NAME', $a_set[
'name']);
    69         $this->tpl->setVariable(
'TXT_FROM', $this->
lng->txt(
'owner'));
    72         $this->tpl->setVariable(
'LASTNAME', $name[
'lastname']);
    73         $this->tpl->setVariable(
'FIRSTNAME', $name[
'firstname']);
    75         $this->tpl->setVariable(
'APPS_COUNT', $a_set[
'apps']);
    76         $this->tpl->setVariable(
    81         if ($a_set[
'accepted']) {
    83             $this->tpl->setVariable(
'ALT_ACC', $this->
lng->txt(
'cal_accepted'));
    85         if ($a_set[
'declined']) {
    87             $this->tpl->setVariable(
'ALT_DEC', $this->
lng->txt(
'cal_declined'));
    93         $this->cal_data = $a_calendars;
   101         return (
bool) count($calendars);
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
setCalendars(array $a_calendars)
 
Stores status (accepted/declined) of shared calendars. 
 
static _lookupName(int $a_user_id)
lookup user name 
 
Show shared calendars for a specific user. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
addMultiCommand(string $a_cmd, string $a_text)
 
__construct(object $a_parent_obj, string $a_parent_cmd)
 
setPrefix(string $a_prefix)