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
저자: Espen Hovlandsdal ([email protected])
상속: implements Imbo\EventListener\ImageVariations\Database\DatabaseInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params = null, Doctrine\DBAL\Connection $connection = null ) Class constructor
deleteImageVariations ( $user, $imageIdentifier, $width = null )
getBestMatch ( $user, $imageIdentifier, $width )
storeImageVariationMetadata ( $user, $imageIdentifier, $width, $height )

비공개 메소드들

메소드 설명
getConnection ( ) : Doctrine\DBAL\Connection Get the Doctrine connection
setConnection ( Doctrine\DBAL\Connection $connection ) : self Set the connection instance

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( array $params = null, Doctrine\DBAL\Connection $connection = null )
$params array Parameters for the driver
$connection Doctrine\DBAL\Connection Optional connection instance

deleteImageVariations() 공개 메소드

public deleteImageVariations ( $user, $imageIdentifier, $width = null )

getBestMatch() 공개 메소드

public getBestMatch ( $user, $imageIdentifier, $width )

storeImageVariationMetadata() 공개 메소드

public storeImageVariationMetadata ( $user, $imageIdentifier, $width, $height )