19 declare(strict_types=1);
38 'Services/Contact/BuddySystem' 41 $this->
lng = $lng ?? $DIC[
'lng'];
47 if ($this->relation->isOwnedByActor()) {
57 $states = $this->relation->getCurrentPossibleTargetStates();
58 foreach ($states as $target_state) {
72 $this->tpl->setVariable(
75 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
85 $this->tpl->setVariable(
89 $this->tpl->setVariable(
93 $this->tpl->setVariable(
96 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
105 return $this->tpl->get();
static convertUpperCamelCaseToUnderscoreCase(string $value)
Convert a value given in camel case conversion to underscore case conversion (e.g.
Interface ilBuddySystemRelationState.