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
int

getTable()

public getTable() : string
Return values
string

        
On this page

Search results