ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilSoapWsdlPathUpdateStep.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
final
class
ilSoapWsdlPathUpdateStep
implements
\ilDatabaseUpdateSteps
22
{
23
protected \ilDBInterface
$db
;
24
25
public
function
prepare
(\
ilDBInterface
$db
): void
26
{
27
$this->db =
$db
;
28
}
29
30
public
function
step_1
(): void
31
{
32
if
($this->db->tableExists(
'settings'
)) {
33
$query =
"UPDATE settings SET "
. PHP_EOL
34
.
" value = REPLACE(value, '/webservice/', '/public/') "
. PHP_EOL
35
.
" WHERE keyword = 'soap_wsdl_path' "
. PHP_EOL
36
.
" AND value LIKE ('%webservice%')"
;
37
38
$this->db->manipulate($query);
39
}
40
}
41
}
ilSoapWsdlPathUpdateStep
Definition:
ilSoapWsdlPathUpdateStep.php:22
ilSoapWsdlPathUpdateStep\$db
ilDBInterface $db
Definition:
ilSoapWsdlPathUpdateStep.php:23
ilSoapWsdlPathUpdateStep\step_1
step_1()
Definition:
ilSoapWsdlPathUpdateStep.php:30
ilSoapWsdlPathUpdateStep\prepare
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Definition:
ilSoapWsdlPathUpdateStep.php:25
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
ilDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilDatabaseUpdateSteps.php:44
components
ILIAS
WebServices
classes
Setup
ilSoapWsdlPathUpdateStep.php
Generated on Sat Oct 18 2025 23:05:00 for ILIAS by
1.9.4 (using
Doxyfile
)