public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Home | Edit | New

Triggers

Callbacks

A callback is simply a function called at a certain point in time, with an optional set of arguments. There is no return value.

See: “Trigger→call”:http://chyrp.net/docs/class/Trigger-php.html#Trigger.call and Triggers

Filters

A filter takes the target for filtering as the first argument, and any additional arguments from there; the goal of a filter is to modify the target and return your modification. Modules (and in some cases, Feathers) interact with eachother (blindly); the filters stack onto eachother and produce one result.

See: “Trigger→filter”:http://chyrp.net/docs/class/Trigger-php.html#Trigger.filter

Last edited by etheon, Tue Dec 30 19:31:24 -0800 2008
Home | Edit | New
Versions: