RedirectRepository
class \
Class for accessing redirect records from the database
Internal
Table of Contents
Methods
- countRedirectsByByDemand() : int
- findHostsOfRedirects() : array
- Used for the filtering in the backend
- findRedirectsByDemand() : array
- Used within the backend module, which also includes the hidden records, but never deleted records.
- findStatusCodesOfRedirects() : array
- 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
Return values
arrayfindRedirectsByDemand()
Used within the backend module, which also includes the hidden records, but never deleted records.
public
findRedirectsByDemand(Demand $demand) : array
Parameters
- $demand : Demand
Return values
arrayfindStatusCodesOfRedirects()
Used for the filtering in the backend
public
findStatusCodesOfRedirects() : array
Return values
arrayremoveByDemand()
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