RedirectRepository

Class for accessing redirect records from the database

Internal

Table of Contents

Methods

countActiveRedirects()  : int
countRedirectsByByDemand()  : int
findCreationTypes()  : array<string|int, mixed>
Get all used creation types
findHostsOfRedirects()  : array<string|int, mixed>
Get all used hosts
findIntegrityStatusCodes()  : array<string|int, mixed>
Get all used integrity status codes
findRedirectsByDemand()  : array<string|int, mixed>
Used within the backend module, which also includes the hidden records, but never deleted records.
findStatusCodesOfRedirects()  : array<string|int, mixed>
Get all used status codes
removeByDemand()  : void
getGroupedRows()  : array<string|int, mixed>
getQueryBuilder()  : QueryBuilder
getQueryBuilderForDemand()  : QueryBuilder
Prepares the QueryBuilder with Constraints from the Demand

Methods

countActiveRedirects()

public countActiveRedirects() : int
Return values
int

countRedirectsByByDemand()

public countRedirectsByByDemand(Demand $demand) : int
Parameters
$demand : Demand
Return values
int

findCreationTypes()

Get all used creation types

public findCreationTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

findHostsOfRedirects()

Get all used hosts

public findHostsOfRedirects() : array<string|int, mixed>
Return values
array<string|int, mixed>

findIntegrityStatusCodes()

Get all used integrity status codes

public findIntegrityStatusCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

findRedirectsByDemand()

Used within the backend module, which also includes the hidden records, but never deleted records.

public findRedirectsByDemand(Demand $demand) : array<string|int, mixed>
Parameters
$demand : Demand
Return values
array<string|int, mixed>

findStatusCodesOfRedirects()

Get all used status codes

public findStatusCodesOfRedirects() : array<string|int, mixed>
Return values
array<string|int, mixed>

getGroupedRows()

protected getGroupedRows(string $field, string $as) : array<string|int, mixed>
Parameters
$field : string
$as : string
Return values
array<string|int, mixed>

getQueryBuilderForDemand()

Prepares the QueryBuilder with Constraints from the Demand

protected getQueryBuilderForDemand(Demand $demand[, bool $createCountQuery = false ]) : QueryBuilder
Parameters
$demand : Demand
$createCountQuery : bool = false
Return values
QueryBuilder

        
On this page

Search results