ILIAS
trunk Revision v11.0_alpha-1843-g9e1fad99175
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ilObjSearchRpcClientCoordinator.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
23
class
ilObjSearchRpcClientCoordinator
24
{
25
protected
ilSetting
$settings
;
26
protected
ilLogger
$src_logger
;
27
28
public
function
__construct
(
29
ilSetting
$settings,
30
ilLogger
$src_logger
31
) {
32
$this->
settings
=
$settings
;
33
$this->src_logger =
$src_logger
;
34
}
35
36
public
function
refreshLuceneSettings
(): bool
37
{
38
try
{
39
$this->
getRpcClient
()->refreshSettings(
40
$this->
getClientId
() .
41
'_'
.
42
$this->
settings
->get(
'inst_id'
,
'0'
)
43
);
44
return
true
;
45
}
catch
(
Exception
$exception) {
46
$this->src_logger->error(
47
'Refresh of lucene server settings failed with message: '
.
48
$exception->getMessage()
49
);
50
throw
$exception;
51
}
52
}
53
54
protected
function
getRpcClient
():
ilRpcClient
55
{
56
return
ilRpcClientFactory::factory
(
'RPCAdministration'
);
57
}
58
59
protected
function
getClientId
(): string
60
{
61
return
(
string
)
CLIENT_ID
;
62
}
63
}
ilLogger
ilObjSearchRpcClientCoordinator\refreshLuceneSettings
refreshLuceneSettings()
Definition:
ilObjSearchRpcClientCoordinator.php:36
ilRpcClientFactory\factory
static factory(string $a_package, int $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
Definition:
class.ilRpcClientFactory.php:33
ilObjSearchRpcClientCoordinator
Definition:
ilObjSearchRpcClientCoordinator.php:23
ilRpcClient
Class ilRpcClient.
Definition:
class.ilRpcClient.php:46
ilObjSearchRpcClientCoordinator\getClientId
getClientId()
Definition:
ilObjSearchRpcClientCoordinator.php:59
CLIENT_ID
const CLIENT_ID
Definition:
constants.php:41
ilObjSearchRpcClientCoordinator\getRpcClient
getRpcClient()
Definition:
ilObjSearchRpcClientCoordinator.php:54
ILIAS\Repository\settings
settings()
Definition:
trait.GlobalDICDomainServices.php:96
ilObjSearchRpcClientCoordinator\__construct
__construct(ilSetting $settings, ilLogger $src_logger)
Definition:
ilObjSearchRpcClientCoordinator.php:28
ilObjSearchRpcClientCoordinator\$settings
ilSetting $settings
Definition:
ilObjSearchRpcClientCoordinator.php:25
ilSetting
Exception
ilObjSearchRpcClientCoordinator\$src_logger
ilLogger $src_logger
Definition:
ilObjSearchRpcClientCoordinator.php:26
components
ILIAS
Search
classes
ObjGUI
ilObjSearchRpcClientCoordinator.php
Generated on Sun Apr 20 2025 23:03:55 for ILIAS by
1.8.13 (using
Doxyfile
)