function shurly_filter in ShURLy 6
Implementation of hook_filter().
File
- ./
shurly.module, line 964 - description http://www.youtube.com/watch?v=Qo7qoonzTCE
Code
function shurly_filter($op, $delta = 0, $format = -1, $text = '') {
switch ($op) {
case 'list':
return array(
0 => t("Shorten all outgoing URL's"),
);
case 'description':
return t('Shorten all outgoing URL\'s.');
case 'settings':
break;
case 'no cache':
break;
case 'prepare':
return $text;
case 'process':
return _shurly_filter_process($text);
default:
return $text;
}
}