CodeIgniter v4.5 API

FilterFinder
in package

FinalYes

Finds filters.

Tags
see
FilterFinderTest

Table of Contents

Properties

$filters  : Filters
$router  : Router

Methods

__construct()  : mixed
find()  : array{before: list, after: list}
getRequiredFilters()  : array{before: list, after: list}
Returns Required Filters
getRouteFilters()  : array<string|int, mixed>

Properties

Methods

find()

public find(string $uri) : array{before: list, after: list}
Parameters
$uri : string

URI path to find filters for

Return values
array{before: list, after: list}

array of filter alias or classname

getRequiredFilters()

Returns Required Filters

public getRequiredFilters() : array{before: list, after: list}
Return values
array{before: list, after: list}

getRouteFilters()

private getRouteFilters(string $uri) : array<string|int, mixed>
Parameters
$uri : string
Return values
array<string|int, mixed>

        
On this page

Search results