19 declare(strict_types=1);
34 'components/ILIAS/Contact/BuddySystem' 37 $this->tpl->setVariable(
'MENU_ID', uniqid(
'buddy-system-menu',
true));
39 $this->
lng = $lng ?? $DIC[
'lng'];
45 if ($this->relation->isOwnedByActor()) {
55 $states = $this->relation->getCurrentPossibleTargetStates();
56 foreach ($states as $target_state) {
70 $this->tpl->setVariable(
73 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
83 $this->tpl->setVariable(
87 $this->tpl->setVariable(
91 $this->tpl->setVariable(
94 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
103 return $this->tpl->get();
static convertUpperCamelCaseToUnderscoreCase(string $value)
Convert a value given in camel case conversion to underscore case conversion (e.g.
Interface ilBuddySystemRelationState.