Class

eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Gateway\DoctrineDatabase

class DoctrineDatabase extends Gateway

UrlWildcard Gateway.

Constants

MAX_LIMIT

2^30, since PHPINTMAX can cause overflows in DB systems, if PHP is run on 64 bit systems.

Methods

mixed insertUrlWildcard(UrlWildcard $urlWildcard)

Inserts the given UrlWildcard.

deleteUrlWildcard(mixed $id)

Deletes the UrlWildcard with given $id.

array loadUrlWildcardData(mixed $id)

Loads an array with data about UrlWildcard with $id.

array loadUrlWildcardsData(mixed $offset, mixed $limit = -1)

Loads an array with data about UrlWildcards (paged).

__construct(DatabaseHandler $dbHandler)

Creates a new DoctrineDatabase Section Gateway.

Details

at line 50
public mixed insertUrlWildcard(UrlWildcard $urlWildcard)

Inserts the given UrlWildcard.

Parameters

UrlWildcard $urlWildcard

Return Value

mixed UrlWildcard id

at line 94
public deleteUrlWildcard(mixed $id)

Deletes the UrlWildcard with given $id.

Parameters

mixed $id

at line 116
public array loadUrlWildcardData(mixed $id)

Loads an array with data about UrlWildcard with $id.

Parameters

mixed $id

Return Value

array

at line 144
public array loadUrlWildcardsData(mixed $offset, mixed $limit = -1)

Loads an array with data about UrlWildcards (paged).

Parameters

mixed $offset
mixed $limit

Return Value

array

at line 38
public __construct(DatabaseHandler $dbHandler)

Creates a new DoctrineDatabase Section Gateway.

Parameters

DatabaseHandler $dbHandler