4 require_once
'Services/Contact/BuddySystem/interfaces/interface.ilBuddySystemRelationStateButtonRenderer.php';
5 require_once
'Services/Utilities/classes/class.ilStr.php';
48 'Services/Contact/BuddySystem' 51 $this->lng = $DIC[
'lng'];
59 if ($this->relation->isOwnedByRequest()) {
73 $states = $this->relation->getCurrentPossibleTargetStates();
74 foreach ($states as $target_state) {
94 $this->tpl->setVariable(
97 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
110 $this->tpl->setVariable(
112 get_class($target_state)
114 $this->tpl->setVariable(
118 $this->tpl->setVariable(
121 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
132 return $this->tpl->get();
static convertUpperCamelCaseToUnderscoreCase($value)
Convert a value given in camel case conversion to underscore case conversion (e.g.
special template class to simplify handling of ITX/PEAR
Class ilBuddySystemRelation.
Interface ilBuddySystemRelationState.