◆ __construct()
ilBuddySystemLinkButton::__construct |
( |
protected int |
$usrId | ) |
|
|
protected |
◆ getBuddyList()
ilBuddySystemLinkButton::getBuddyList |
( |
| ) |
|
◆ getHtml()
ilBuddySystemLinkButton::getHtml |
( |
| ) |
|
Definition at line 54 of file class.ilBuddySystemLinkButton.php.
54 : string
55 {
56 $this->
lng->loadLanguageModule(
'buddysystem');
57
59 return '';
60 }
61
63
64
67 return '';
68 }
69
71 'tpl.buddy_system_link_button.html',
72 true,
73 true,
74 'components/ILIAS/Contact/BuddySystem'
75 );
76 $buttonTemplate->setVariable(
77 'BUTTON_HTML',
81 )->getHtml()
82 );
83 $buttonTemplate->setVariable(
'BUTTON_BUDDY_ID', $this->
getUsrId());
85 $buttonTemplate->setVariable(
'BUTTON_CURRENT_STATE',
$relation->getState()::class);
86
87 return $buttonTemplate->get();
88 }
static getInstance(?ilLanguage $lng=null)
static _lookupPref(int $a_usr_id, string $a_keyword)
special template class to simplify handling of ITX/PEAR
static yn2tf(string $a_yn)
References $relation, ilObjUser\_lookupPref(), ilBuddySystem\getInstance(), ilBuddySystemRelationStateFactory\getInstance(), getUsrId(), ILIAS\Repository\lng(), ilBuddySystemLinkButtonType\ROOT_CSS_CLASS, ILIAS\Repository\user(), and ilUtil\yn2tf().
◆ getInstanceByUserId()
static ilBuddySystemLinkButton::getInstanceByUserId |
( |
int |
$usrId | ) |
|
|
static |
◆ getUsrId()
ilBuddySystemLinkButton::getUsrId |
( |
| ) |
|
◆ $buddyList
◆ $lng
◆ $user
The documentation for this class was generated from the following file: