4 require_once
'Services/Contact/BuddySystem/interfaces/interface.ilBuddySystemRelationStateButtonRenderer.php';
5 require_once
'Services/Utilities/classes/class.ilStr.php';
41 'Services/Contact/BuddySystem' 50 if($this->relation->isOwnedByRequest())
66 $this->renderStateButton();
67 $states = $this->relation->getCurrentPossibleTargetStates();
68 foreach($states as $target_state)
70 $this->renderTargetState($target_state);
85 protected function renderStateButton()
94 $this->tpl->setVariable(
97 'buddy_bs_btn_txt_' . $state_id . $this->getLanguageVariableSuffix()
115 $this->tpl->setVariable(
117 get_class($target_state)
119 $this->tpl->setVariable(
123 $this->tpl->setVariable(
126 'buddy_bs_act_btn_txt_' . $state_id .
'_to_' . $target_state_id
137 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.