ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
PDOTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\DAV\Locks\Backend
;
4
5
abstract
class
PDOTest
extends
AbstractTest
{
6
7
use \Sabre\DAV\DbTestHelperTrait
;
8
9
function
getBackend
() {
10
11
$this->
dropTables
(
'locks'
);
12
$this->
createSchema
(
'locks'
);
13
14
$pdo
= $this->
getPDO
();
15
16
return
new
PDO
(
$pdo
);
17
18
}
19
20
}
Sabre\DAV\getPDO
getPDO()
Alias for getDb.
Definition:
DbTestHelperTrait.php:82
Sabre\DAV\Locks\Backend\PDOTest
Definition:
PDOTest.php:5
Sabre\DAV\Locks\Backend\AbstractTest
Definition:
AbstractTest.php:7
Sabre\DAV\Locks\Backend\PDOTest\getBackend
getBackend()
Definition:
PDOTest.php:9
Sabre\DAV\dropTables
dropTables($tableNames)
Drops tables, if they exist.
Definition:
DbTestHelperTrait.php:120
Sabre\DAV\createSchema
createSchema($schemaName)
Uses .sql files from the examples directory to initialize the database.
Definition:
DbTestHelperTrait.php:94
PDO
Sabre\DAV\DbTestHelperTrait
trait DbTestHelperTrait
Definition:
DbTestHelperTrait.php:14
$pdo
$pdo
Definition:
migrateto20.php:62
Sabre\DAV\Locks\Backend
Definition:
AbstractBackend.php:3
php
libs
composer
vendor
sabre
dav
tests
Sabre
DAV
Locks
Backend
PDOTest.php
Generated on Thu Jan 16 2025 19:01:52 for ILIAS by
1.8.13 (using
Doxyfile
)