function calendar_args_in_url in Calendar 5.2
Count the args in the url
Looking for a pattern like '/$'.
1 call to calendar_args_in_url()
- calendar_get_url in ./
calendar.module - An alternative to views_get_url() that will correctly substitute replacement values like $group or $node.
File
- ./
calendar.module, line 564 - Adds calendar filtering and displays to Views.
Code
function calendar_args_in_url($view) {
ereg('\\/\\$', $view->url, $regs);
return count($regs);
}