ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
ilObjServerInfoGUI Class Reference

@ilCtrl_isCalledBy ilObjServerInfoGUI: ilAdministrationGUI @ilCtrl_Calls ilObjServerInfoGUI: ilPermissionGUI More...

+ Inheritance diagram for ilObjServerInfoGUI:
+ Collaboration diagram for ilObjServerInfoGUI:

Public Member Functions

 __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0)
 
 getType ()
 Functions that must be overwritten. More...
 
 executeCommand ()
 execute command More...
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 view ()
 view object content (repository/workspace switch) More...
 
 status ()
 
 viewVcs ()
 
- Public Member Functions inherited from ilObject2GUI
 __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0)
 
 executeCommand ()
 execute command More...
 
 getIdType ()
 
 delete ()
 Display delete confirmation form (repository/workspace switch) More...
 
 confirmedDelete ()
 Delete objects (repository/workspace switch) More...
 
 getHTML ()
 
 withReferences ()
 Final/Private declaration of unchanged parent methods. More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 isVisible (int $ref_id, string $type)
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 view ()
 view object content (repository/workspace switch) More...
 
 getType ()
 Functions that must be overwritten. More...
 
 create ()
 CRUD. More...
 
 save ()
 
 edit ()
 
 update ()
 
 cancel ()
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Private Member Functions

 getJavaServerGUI ()
 

Private Attributes

ilIniFile $client_ini
 
AgentFinder $agent_finder
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObject2GUI
static handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id)
 After creation callback. More...
 
- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 
- Data Fields inherited from ilObject2GUI
const OBJECT_ID = 0
 
const REPOSITORY_NODE_ID = 1
 
const WORKSPACE_NODE_ID = 2
 
const REPOSITORY_OBJECT_ID = 3
 
const WORKSPACE_OBJECT_ID = 4
 
const PORTFOLIO_OBJECT_ID = 5
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 
- Protected Member Functions inherited from ilObject2GUI
 afterConstructor ()
 Do anything that should be done after constructor in here. More...
 
 assignObject ()
 create object instance as internal property (repository/workspace switch) More...
 
 getAccessHandler ()
 
 setLocator ()
 set Locator More...
 
 deleteConfirmedObjects ()
 Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More...
 
 setTitleAndDescription ()
 
 omitLocator (bool $omit=true)
 
 getTargetFrame (string $cmd, string $target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 setTabs ()
 create tabs (repository/workspace switch) More...
 
 getReturnLocation (string $cmd, string $location="")
 Deprecated functions. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 showActions ()
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 addLocatorItems ()
 Functions to be overwritten. More...
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null)
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 redrawHeaderAction ()
 Updating icons after ajax call. More...
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 
- Protected Attributes inherited from ilObject2GUI
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilCtrl $ctrl
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ilFavouritesManager $favourites
 
ilErrorHandling $error
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilToolbarGUI $toolbar
 
Factory $refinery
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
int $request_ref_id
 
int $id_type
 
int $parent_id
 
string $type
 
string $html
 
int $object_id
 
int $node_id = null
 
array $creation_forms = []
 
 $access_handler
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
GlobalHttpState $http
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
CustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Detailed Description

@ilCtrl_isCalledBy ilObjServerInfoGUI: ilAdministrationGUI @ilCtrl_Calls ilObjServerInfoGUI: ilPermissionGUI

Definition at line 29 of file class.ilObjServerInfoGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjServerInfoGUI::__construct ( int  $id = 0,
int  $id_type = self::REPOSITORY_NODE_ID,
int  $parent_node_id = 0 
)

Reimplemented from ilObject2GUI.

Definition at line 34 of file class.ilObjServerInfoGUI.php.

35 {
36 parent::__construct($id, $id_type, $parent_node_id);
37
38 global $DIC;
39 $this->client_ini = $DIC->clientIni();
40 $this->agent_finder = $DIC['setup.agentfinder'];
41 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, ilObjectGUI\$id, ilObject2GUI\$id_type, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilObjServerInfoGUI::executeCommand ( )

execute command

Reimplemented from ilObject2GUI.

Definition at line 59 of file class.ilObjServerInfoGUI.php.

59 : void
60 {
61 $this->checkPermission('read');
62
63 $this->lng->loadLanguageModule('administration');
64 $this->prepareOutput();
65
66 switch ($this->ctrl->getNextClass($this)) {
67 case strtolower(ilPermissionGUI::class):
68 $this->tabs_gui->activateTab('perm_settings');
69 $this->ctrl->forwardCommand(new ilPermissionGUI($this));
70 break;
71
72 case strtolower(JavaServerGUI::class):
73 $this->tabs_gui->activateTab('java_server');
74 $this->ctrl->forwardCommand($this->getJavaServerGUI());
75 break;
76
77 default:
78 $cmd = $this->ctrl->getCmd("view");
79 switch ($cmd) {
80 case 'view':
81 case 'viewVcs':
82 $this->tabs_gui->activateTab('server_data');
83 $this->$cmd();
84 break;
85 case 'status':
86 $this->tabs_gui->activateTab('installation_status');
87 $this->$cmd();
88 break;
89 case 'phpinfo':
90 phpinfo();
91 exit;
92 }
93 }
94 }
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
prepareOutput(bool $show_sub_objects=true)
exit

References ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), exit, getJavaServerGUI(), ILIAS\Repository\lng(), and ilObject2GUI\prepareOutput().

+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjServerInfoGUI::getAdminTabs ( )

administration tabs show only permissions and trash folder

Reimplemented from ilObjectGUI.

Definition at line 96 of file class.ilObjServerInfoGUI.php.

96 : void
97 {
98 $this->tabs_gui->addTab(
99 'installation_status',
100 $this->lng->txt('installation_status'),
101 $this->ctrl->getLinkTarget($this, 'status')
102 );
103
104 $this->tabs_gui->addTab(
105 'server_data',
106 $this->lng->txt('server_data'),
107 $this->ctrl->getLinkTarget($this, 'view')
108 );
109
110 $this->tabs_gui->addTab(
111 'java_server',
112 $this->lng->txt('java_server'),
113 $this->ctrl->getLinkTargetByClass([self::class, JavaServerGUI::class]),
114 );
115
116 if ($this->checkPermissionBool('edit_permission')) {
117 $this->tabs_gui->addTab(
118 'perm_settings',
119 $this->lng->txt('perm_settings'),
120 $this->ctrl->getLinkTargetByClass([self::class, ilPermissionGUI::class], 'perm')
121 );
122 }
123 }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)

References ilObject2GUI\checkPermissionBool(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getJavaServerGUI()

ilObjServerInfoGUI::getJavaServerGUI ( )
private

Definition at line 48 of file class.ilObjServerInfoGUI.php.

49 {
50 return new JavaServerGUI(
51 $this->ctrl,
52 $this->tpl,
53 $this->lng,
54 $this->settings,
55 $this->checkPermissionBool('write')
56 );
57 }
GUI for Java Server Settings.

References ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getType()

ilObjServerInfoGUI::getType ( )

Functions that must be overwritten.

Reimplemented from ilObject2GUI.

Definition at line 43 of file class.ilObjServerInfoGUI.php.

43 : string
44 {
46 }

References ilObjServerInfo\TYPE.

◆ status()

ilObjServerInfoGUI::status ( )

Definition at line 224 of file class.ilObjServerInfoGUI.php.

224 : void
225 {
226 $st = new StatusCommand($this->agent_finder);
227 $metric = $st->getMetrics($this->agent_finder->getAgents());
228 $report = $metric->toUIReport($this->ui_factory, $this->lng->txt("installation_status"));
229 $this->tpl->setContent($this->ui_renderer->render($report));
230 }
Command to output status information about the installation.

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ view()

ilObjServerInfoGUI::view ( )

view object content (repository/workspace switch)

Reimplemented from ilObject2GUI.

Definition at line 125 of file class.ilObjServerInfoGUI.php.

125 : void
126 {
127 $this->toolbar->addComponent(
128 $this->ui_factory->button()->standard(
129 $this->lng->txt("vc_information"),
130 $this->ctrl->getLinkTarget($this, 'viewVcs')
131 )
132 );
133
134 $form = new ilPropertyFormGUI();
135
136 // installation name
137 $ne = new ilNonEditableValueGUI($this->lng->txt("inst_name"), "");
138 $ne->setValue($this->client_ini->readVariable("client", "name"));
139 $ne->setInfo($this->client_ini->readVariable("client", "description"));
140 $form->addItem($ne);
141
142 // client id
143 $ne = new ilNonEditableValueGUI($this->lng->txt("client_id"), "");
144 $ne->setValue(CLIENT_ID);
145 $form->addItem($ne);
146
147 // installation id
148 $ne = new ilNonEditableValueGUI($this->lng->txt("inst_id"), "");
149 $ne->setValue($this->settings->get("inst_id"));
150 $form->addItem($ne);
151
152 // database version
153 $ne = new ilNonEditableValueGUI($this->lng->txt("db_version"), "");
154 $ne->setValue($this->settings->get("db_version"));
155
156 $form->addItem($ne);
157
158 // ilias version
159 $ne = new ilNonEditableValueGUI($this->lng->txt("ilias_version"), "");
160 $ne->setValue(ILIAS_VERSION);
161 $form->addItem($ne);
162
163 // host
164 $ne = new ilNonEditableValueGUI($this->lng->txt("host"), "");
165 $ne->setValue($_SERVER["SERVER_NAME"]);
166 $form->addItem($ne);
167
168 // ip & port
169 $ne = new ilNonEditableValueGUI($this->lng->txt("ip_address") . " & " . $this->lng->txt("port"), "");
170 $ne->setValue($_SERVER["SERVER_ADDR"] . ":" . $_SERVER["SERVER_PORT"]);
171 $form->addItem($ne);
172
173 // server
174 $ne = new ilNonEditableValueGUI($this->lng->txt("server_software"), "");
175 $ne->setValue($_SERVER["SERVER_SOFTWARE"]);
176 $form->addItem($ne);
177
178 // http path
179 $ne = new ilNonEditableValueGUI($this->lng->txt("http_path"), "");
180 $ne->setValue(ILIAS_HTTP_PATH);
181 $form->addItem($ne);
182
183 // absolute path
184 $ne = new ilNonEditableValueGUI($this->lng->txt("absolute_path"), "");
185 $ne->setValue(ILIAS_ABSOLUTE_PATH);
186 $form->addItem($ne);
187
188 $not_set = $this->lng->txt("path_not_set");
189
190 // convert
191 $ne = new ilNonEditableValueGUI($this->lng->txt("path_to_convert"), "");
192 $ne->setValue(PATH_TO_CONVERT ?: $not_set);
193 $form->addItem($ne);
194
195 // zip
196 $ne = new ilNonEditableValueGUI($this->lng->txt("path_to_zip"), "");
197 $ne->setValue(PATH_TO_ZIP ?: $not_set);
198 $form->addItem($ne);
199
200 // unzip
201 $ne = new ilNonEditableValueGUI($this->lng->txt("path_to_unzip"), "");
202 $ne->setValue(PATH_TO_UNZIP ?: $not_set);
203 $form->addItem($ne);
204
205 // java
206 $ne = new ilNonEditableValueGUI($this->lng->txt("path_to_java"), "");
207 $ne->setValue(PATH_TO_JAVA ?: $not_set);
208 $form->addItem($ne);
209
210 // mkisofs
211 $ne = new ilNonEditableValueGUI($this->lng->txt("path_to_mkisofs"), "");
212 $ne->setValue(PATH_TO_MKISOFS ?: $not_set);
213 $form->addItem($ne);
214
215 $form->setTitle($this->lng->txt("server_data"));
216
217 $tpl = new ilTemplate("tpl.server_data.html", true, true, "components/ILIAS/Administration");
218 $tpl->setVariable("FORM", $form->getHTML());
219 $tpl->setVariable("PHP_INFO_TARGET", $this->ctrl->getLinkTarget($this, "phpinfo"));
220
221 $this->tpl->setContent($tpl->get());
222 }
This class represents a non editable value in a property form.
ilGlobalTemplateInterface $tpl
This class represents a property form user interface.
special template class to simplify handling of ITX/PEAR
const CLIENT_ID
Definition: constants.php:41
const ILIAS_VERSION
setVariable(string $variable, $value='')
Sets the given variable to the given value.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26

References $_SERVER, ilObject2GUI\$tpl, CLIENT_ID, ILIAS\Repository\ctrl(), ILIAS\UICore\GlobalTemplate\get(), ILIAS_VERSION, ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\Repository\toolbar().

Referenced by viewVcs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ viewVcs()

ilObjServerInfoGUI::viewVcs ( )

Definition at line 232 of file class.ilObjServerInfoGUI.php.

233 {
234 $vc = new ilGitInformation();
235 $html = $vc->getInformationAsHtml();
236
237 if ($html) {
238 $this->tpl->setOnScreenMessage('info', $html);
239 } else {
240 $this->tpl->setOnScreenMessage('info', $this->lng->txt('vc_information_not_determined'));
241 }
242
243 $this->view();
244 }
Class ilGitInformation.
view()
view object content (repository/workspace switch)

References ilObject2GUI\$html, ILIAS\Repository\lng(), and view().

+ Here is the call graph for this function:

Field Documentation

◆ $agent_finder

AgentFinder ilObjServerInfoGUI::$agent_finder
private

Definition at line 32 of file class.ilObjServerInfoGUI.php.

◆ $client_ini

ilIniFile ilObjServerInfoGUI::$client_ini
private

Definition at line 31 of file class.ilObjServerInfoGUI.php.


The documentation for this class was generated from the following file: