ModifyDatabaseQueryForContentEvent
FinalYes
Use this Event to alter the database query when loading content for a page.
Table of Contents
Methods
- __construct() : mixed
- getPageId() : int
- getQueryBuilder() : QueryBuilder
- getTable() : string
- setQueryBuilder() : void
Methods
__construct()
public
__construct(QueryBuilder $queryBuilder, string $table, int $pageId) : mixed
Parameters
- $queryBuilder : QueryBuilder
- $table : string
- $pageId : int
getPageId()
public
getPageId() : int
Return values
intgetQueryBuilder()
public
getQueryBuilder() : QueryBuilder
Return values
QueryBuildergetTable()
public
getTable() : string
Return values
stringsetQueryBuilder()
public
setQueryBuilder(QueryBuilder $queryBuilder) : void
Parameters
- $queryBuilder : QueryBuilder