function qtip_filter in qTip (Stylish jQuery Tooltips) 6.2
Same name and namespace in other branches
- 6 qtip.module \qtip_filter()
Implementation of hook_filter()
File
- ./
qtip.module, line 99
Code
function qtip_filter($op, $delta = 0, $format = -1, $text = '') {
switch ($op) {
case 'list':
return array(
0 => t('qTips'),
);
case 'description':
return t("Generate stylish tooltips. Format: [qtip:Tooltip Link|Tooltip Header(optional)|Tooltip content]");
case 'prepare':
return $text;
case 'process':
$text = qtip_replacement($text);
return $text;
default:
return $text;
}
}