protected function makeTreeMenuNodeLink($label, $action, $id) { return ZurmoHtml::Link($label, $this->makeTreeMenuNodeRoute($action, $id)); }
protected function makeTreeMenuNodeLink($label, $action, $roleId) { if ($this->modalId == null) { $modalId = 'modalContainer'; } else { $modalId = $this->modalId; } return ZurmoHtml::Link($label, 'javascript:transferModalValues("#' . $modalId . '", ' . CJavaScript::encode(array($this->sourceIdFieldId => $roleId, $this->sourceNameFieldId => $label)) . ' );'); }
protected function makeTreeMenuNodeLink($label, $action, $groupId) { return ZurmoHtml::Link($label, 'javascript:transferModalValues("#' . $this->modalId . '", ' . CJavaScript::encode(array($this->sourceIdFieldId => $groupId, $this->sourceNameFieldId => $label)) . ' );'); }