Class

eZ\Publish\Core\Persistence\Legacy\URL\Gateway\DoctrineDatabase

class DoctrineDatabase extends Gateway

URL gateway implementation using the Doctrine.

Constants

URL_TABLE

URL_LINK_TABLE

COLUMN_ID

COLUMN_URL

COLUMN_ORIGINAL_URL_MD5

COLUMN_IS_VALID

COLUMN_LAST_CHECKED

COLUMN_MODIFIED

COLUMN_CREATED

Methods

updateUrl(URL $url)

Update the URL.

array find(Criterion $criterion, int $offset, int $limit, array $sortClauses = array(), bool $doCount = true)

Selects URLs matching specified criteria.

array findUsages(int $id)

Returns IDs of Content Objects using URL identified by $id.

array loadUrlData(int $id)

Loads URL with url id.

array loadUrlDataByUrl(int $url)

Loads URL with url address.

__construct(DatabaseHandler $dbHandler, CriteriaConverter $criteriaConverter)

Creates a new Doctrine database Section Gateway.

Details

at line 154
public updateUrl(URL $url)

Update the URL.

Parameters

URL $url

at line 63
public array find(Criterion $criterion, int $offset, int $limit, array $sortClauses = array(), bool $doCount = true)

Selects URLs matching specified criteria.

Parameters

Criterion $criterion
int $offset
int $limit
array $sortClauses
bool $doCount

Return Value

array

at line 104
public array findUsages(int $id)

Returns IDs of Content Objects using URL identified by $id.

Parameters

int $id

Return Value

array

at line 187
public array loadUrlData(int $id)

Loads URL with url id.

Parameters

int $id

Return Value

array

at line 206
public array loadUrlDataByUrl(int $url)

Loads URL with url address.

Parameters

int $url

Return Value

array

at line 54
public __construct(DatabaseHandler $dbHandler, CriteriaConverter $criteriaConverter)

Creates a new Doctrine database Section Gateway.

Parameters

DatabaseHandler $dbHandler
CriteriaConverter $criteriaConverter