function crumbs_example_CrumbsMonoPlugin_NewsByDate::findTitle__news_x_x_x in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 example/lib/CrumbsMonoPlugin/NewsByDate.php \crumbs_example_CrumbsMonoPlugin_NewsByDate::findTitle__news_x_x_x()
This one only makes sense if you created a view with path "news/%/%/%"
Parameters
string $path:
array $item:
Return value
string A candidate for the breadcrumb item title.
File
- example/
lib/ CrumbsMonoPlugin/ NewsByDate.php, line 21
Class
Code
function findTitle__news_x_x_x($path, $item) {
// Title will be the day.
return $item['map'][3];
}