RedirectRepository
Class for accessing redirect records from the database
Table of Contents
Methods
- countRedirectsByByDemand() : int
- findHostsOfRedirects() : array<string|int, mixed>
- Used for the filtering in the backend
- 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>
- Used for the filtering in the backend
- removeByDemand() : void
- getQueryBuilder() : QueryBuilder
- getQueryBuilderForDemand() : QueryBuilder
- Prepares the QueryBuilder with Constraints from the Demand
Methods
countRedirectsByByDemand()
public
countRedirectsByByDemand(Demand $demand) : int
Parameters
- $demand : Demand
Return values
intfindHostsOfRedirects()
Used for the filtering in the backend
public
findHostsOfRedirects() : 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()
Used for the filtering in the backend
public
findStatusCodesOfRedirects() : array<string|int, mixed>
Return values
array<string|int, mixed>removeByDemand()
public
removeByDemand(Demand $demand) : void
Parameters
- $demand : Demand
getQueryBuilder()
protected
getQueryBuilder() : QueryBuilder
Return values
QueryBuildergetQueryBuilderForDemand()
Prepares the QueryBuilder with Constraints from the Demand
protected
getQueryBuilderForDemand(Demand $demand) : QueryBuilder
Parameters
- $demand : Demand