function forena_filter in Forena Reports 6
Same name and namespace in other branches
- 6.2 forena.module \forena_filter()
Implememntation of hook_filter
File
- ./
forena.module, line 601
Code
function forena_filter($op, $delta = 0, $format = -1, $text = '') {
if ($op == 'list') {
return array(
0 => t('Insert Report'),
);
}
switch ($delta) {
case 0:
switch ($op) {
case 'description':
return t('Inserts a forena report');
case 'prepare':
return $text;
case 'process':
return _forena_filter_process($text);
case 'no cache':
return TRUE;
}
}
}