19 declare(strict_types=1);
37 'components/ILIAS/Contact/BuddySystem' 40 $this->tpl->setVariable(
'MENU_ID', uniqid(
'buddy-system-menu',
true));
42 $this->
lng = $lng ?? $DIC[
'lng'];
48 if ($this->relation->isOwnedByActor()) {
58 $states = $this->relation->getCurrentPossibleTargetStates();
59 foreach ($states as $target_state) {
73 $this->tpl->setVariable(
76 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
86 $this->tpl->setVariable(
90 $this->tpl->setVariable(
94 $this->tpl->setVariable(
97 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
106 return $this->tpl->get();
static convertUpperCamelCaseToUnderscoreCase(string $value)
Convert a value given in camel case conversion to underscore case conversion (e.g.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Interface ilBuddySystemRelationState.