David R. Baird > MasonX-Maypole-0.04 > templates/factory/maybe_link_view

Download:
MasonX-Maypole-0.04.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

maybe_link_view

Takes something returned from the database - either some ordinary data, or an object in a related class expanded by a has-a relationship. If it is an object, it constructs a link to the view command for that object. Otherwise, it just displays the data.