David R. Baird > MasonX-Maypole-0.215 > lib/templates/factory/view_related

Download:
MasonX-Maypole-0.215.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: MasonX-Maypole-0.219

view_related

This takes an object, and looks up the related_accessors; this should give a list of accessors that can be called to get a list of related objects. It then displays a title for that accessor, (i.e. "Beers" for a brewery) calls the accesor, and displays a list of the results.

syntax highlighting: