X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FManual%2FView.pod;h=fe46edd60c9db6e9ed9161f57d502593bc8d1f7f;hb=83769a6653a8736141d035a8a963c6cc99970a17;hp=5477d050719635b33847af694f08f3f62a6a9445;hpb=45e4b287c0925cab5cc2692093034275dd0d17b9;p=maypole.git diff --git a/lib/Maypole/Manual/View.pod b/lib/Maypole/Manual/View.pod index 5477d05..fe46edd 100644 --- a/lib/Maypole/Manual/View.pod +++ b/lib/Maypole/Manual/View.pod @@ -385,10 +385,6 @@ that class. That is, for the C table, C should be a C object containing a drop-down list of beer styles. -TODO =item C -TODO -TODO This is the human-readable description provided by a class. - =item C This is a list of accessors which can be called on an object to get @@ -412,6 +408,23 @@ C hash in the request object, and supply its value: You can also override the value of any of the standard variables by giving their name as the key. +=head2 Accessing other classes + +When building a frontpage, login or other template that isn't directly +linked to a particular table, (and therefore it's class,) that you wish to +use, you can access the classes directly. + +When using C you are reccomended to use Richard Clamp's +incredibly useful Template::Plugin::Class -- see the and Template::Plugin::Class +and C documentation for details. + +Mason and MasonX views also allow you to pull in arbitary classes, see +the relevent Mason and Plugin/View documentation for details. + +If you are using HTML::Template you are out of luck on this front due +to philosophy and architecture this templating system cannot call code, +and only reads the data provided when the template is processed. + =head2 Other view classes Please note that these template variables, C, C, @@ -555,3 +568,5 @@ Patches are always welcome! L, Next L, Previous L, + +=cut