Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
gb_cfilter
PHP Class gb_cfilter, gitblog
显示文件
Open project: rsms/gitblog
Class Usage Examples
Public Properties
Property
Type
Description
$filters
Public Methods
Method
Description
add
(
$tag
,
$func
,
$priority
= 100 )
Add a filter
apply
(
$tag
,
$value
)
Apply filters for $tag on $value
Method Details
add()
static
public
method
Lower number for $priority means earlier execution of $func. If $func returns boolean FALSE the filter chain is broken, not applying any more filter after the one returning FALSE. Returning anything else have no effect.
static
public
add
(
$tag
,
$func
,
$priority
= 100 )
apply()
static
public
method
Apply filters for $tag on $value
static
public
apply
(
$tag
,
$value
)
Property Details
$filters
public_oe static_oe property
public
static
$filters