PHP Class gb_cfilter, gitblog

Afficher le fichier Open project: rsms/gitblog Class Usage Examples

Méthodes publiques

Свойство Type Description
$filters

Méthodes publiques

Méthode Description
add ( $tag, $func, $priority = 100 ) Add a filter
apply ( $tag, $value ) Apply filters for $tag on $value

Method Details

add() static public méthode

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 méthode

Apply filters for $tag on $value
static public apply ( $tag, $value )

Property Details

$filters public_oe static_oe property

public static $filters