◆ __construct()
ilBuddySystemLinkButton::__construct |
( |
protected int |
$usrId | ) |
|
|
protected |
◆ getBuddyList()
ilBuddySystemLinkButton::getBuddyList |
( |
| ) |
|
◆ getHtml()
ilBuddySystemLinkButton::getHtml |
( |
| ) |
|
Definition at line 54 of file class.ilBuddySystemLinkButton.php.
References $relation, ilObjUser\_lookupPref(), ilBuddySystemRelationStateFactory\getInstance(), ilBuddySystem\getInstance(), getUsrId(), ILIAS\Repository\lng(), ilBuddySystemLinkButtonType\ROOT_CSS_CLASS, ILIAS\Repository\user(), and ilUtil\yn2tf().
56 $this->
lng->loadLanguageModule(
'buddysystem');
71 'tpl.buddy_system_link_button.html',
74 'components/ILIAS/Contact/BuddySystem' 76 $buttonTemplate->setVariable(
83 $buttonTemplate->setVariable(
'BUTTON_BUDDY_ID', $this->
getUsrId());
85 $buttonTemplate->setVariable(
'BUTTON_CURRENT_STATE',
$relation->getState()::class);
87 return $buttonTemplate->get();
static getInstance(?ilLanguage $lng=null)
static _lookupPref(int $a_usr_id, string $a_keyword)
static yn2tf(string $a_yn)
◆ getInstanceByUserId()
static ilBuddySystemLinkButton::getInstanceByUserId |
( |
int |
$usrId | ) |
|
|
static |
◆ getUsrId()
ilBuddySystemLinkButton::getUsrId |
( |
| ) |
|
◆ $buddyList
◆ $lng
◆ $user
The documentation for this class was generated from the following file: