PHP Класс Imbo\EventListener\ImageVariations\Database\Doctrine
Valid parameters for this driver:
-
(string) dbname
Name of the database to connect to
-
(string) user
Username to use when connecting
-
(string) password
Password to use when connecting
-
(string) host
Hostname to use when connecting
-
(string) driver
Which driver to use
-
(PDO) pdo
PDO adapter to use, as an alternative to specifying the above
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Приватные методы
Метод |
Описание |
|
getConnection ( ) : Doctrine\DBAL\Connection |
Get the Doctrine connection |
|
setConnection ( Doctrine\DBAL\Connection $connection ) : self |
Set the connection instance |
|
Описание методов
__construct()
публичный Метод
public __construct ( array $params = null, Doctrine\DBAL\Connection $connection = null ) |
$params |
array |
Parameters for the driver |
$connection |
Doctrine\DBAL\Connection |
Optional connection instance |
deleteImageVariations()
публичный Метод
getBestMatch()
публичный Метод