Vincent,

Use cases might be :

$view-->setFilter('content', 'box_it');   // content appears in box with
rounded corners

$view-->setFilter('content', 'no_bad_words');  // naughty words become
n####ty w##ds

$view-->setFilter('content', 'double_digit');  // all single digits get a
leading 0, 1 becomes 01

$view-->setFilter('content', 'hide_IPs');  // ip address 23.23.23.23 becomes
23.XX.XX.XX.XX

By setting a filter in the Controller's init function,  all 'content'
generated by that controller's actions would automatically get the filter
applied it.

ciao,

Quetz

Reply via email to