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())
76 $states = $this->relation->getCurrentPossibleTargetStates();
77 foreach($states as $target_state)
98 $this->tpl->setVariable(
101 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
114 $this->tpl->setVariable(
116 get_class($target_state)
118 $this->tpl->setVariable(
122 $this->tpl->setVariable(
125 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
136 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.