SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 119 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

In this example, the frontend
models and views will take precedence. If we wanted the admin paths to take
??? ??? ??? ???
Chapter 4
[ 87 ]
precedence, all we would need to do is move the parent::__construct() call to the
end of the overridden constructor method.
Rendering Other Document Types
We mentioned earlier that you can create a view for the document types, feed,
HTML, PDF, and RAW. We have already briefly explained how to implement views
for the HTML document type. This section describes how to create feed, PDF, and
RAW views.
Every view, created in the views folder as a separate folder, can support any number
of the document types. This table shows the naming convention we use for each.
Document Type File Name Description
Feed View.feed.php Renders an RSS 2.0 or Atom feed.
HTML view.html.php Renders a text/html view using the site template.
PDF view.pdf.php Renders an application/pdf document.
RAW
view.raw.php
Renders any other type of document; defaults to
text/html, but we can modify this.


Pages:
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6