ModifyRecordsAfterFetchingContentEvent
FinalYes
Event which is fired after ContentContentObject has pulled records from database.
Therefore, allows listeners to completely manipulate the fetched records, prior to being further processed by the content object.
Additionally, the event also allows to manipulate the configuration and options, such as the "value" or "slide".
Table of Contents
Methods
- __construct() : mixed
- getConfiguration() : array<string|int, mixed>
- getFinalContent() : string
- getRecords() : array<string|int, mixed>
- getSlide() : int
- getSlideCollect() : int
- getSlideCollectFuzzy() : bool
- getSlideCollectReverse() : bool
- setConfiguration() : void
- setFinalContent() : void
- setRecords() : void
- setSlide() : void
- setSlideCollect() : void
- setSlideCollectFuzzy() : void
- setSlideCollectReverse() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $records, string $finalContent, int $slide, int $slideCollect, bool $slideCollectReverse, bool $slideCollectFuzzy, array<string|int, mixed> $configuration) : mixed
Parameters
- $records : array<string|int, mixed>
- $finalContent : string
- $slide : int
- $slideCollect : int
- $slideCollectReverse : bool
- $slideCollectFuzzy : bool
- $configuration : array<string|int, mixed>
getConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getFinalContent()
public
getFinalContent() : string
Return values
stringgetRecords()
public
getRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>getSlide()
public
getSlide() : int
Return values
intgetSlideCollect()
public
getSlideCollect() : int
Return values
intgetSlideCollectFuzzy()
public
getSlideCollectFuzzy() : bool
Return values
boolgetSlideCollectReverse()
public
getSlideCollectReverse() : bool
Return values
boolsetConfiguration()
public
setConfiguration(array<string|int, mixed> $configuration) : void
Parameters
- $configuration : array<string|int, mixed>
setFinalContent()
public
setFinalContent(string $finalContent) : void
Parameters
- $finalContent : string
setRecords()
public
setRecords(array<string|int, mixed> $records) : void
Parameters
- $records : array<string|int, mixed>
setSlide()
public
setSlide(int $slide) : void
Parameters
- $slide : int
setSlideCollect()
public
setSlideCollect(int $slideCollect) : void
Parameters
- $slideCollect : int
setSlideCollectFuzzy()
public
setSlideCollectFuzzy(bool $slideCollectFuzzy) : void
Parameters
- $slideCollectFuzzy : bool
setSlideCollectReverse()
public
setSlideCollectReverse(bool $slideCollectReverse) : void
Parameters
- $slideCollectReverse : bool