Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jifty::view::declare::baseclass(3pm) [debian man page]

Jifty::View::Declare::BaseClass(3pm)			User Contributed Perl Documentation		      Jifty::View::Declare::BaseClass(3pm)

NAME
Jifty::View::Declare::BaseClass - Base class for Template::Declare views DESCRIPTION
This class provides a base class for your Template::Declare derived view classes. METHODS
use_mason_wrapper Call this function in your view class to use your mason wrapper for Template::Declare templates, something like: package TestApp::View; use Jifty::View::Declare -base; __PACKAGE__->use_mason_wrapper; If you don't use mason then you can define a "wrapper" function in the view class to override default page layouts. Default TD wrapper defined in Jifty::View::Declare::Helpers. ATTRIBUTES
clkao owes documentation as to the meaning of this and when it would be acceptable to use it. Static TODO Document this... This is part of the client-caching system being developed for Perl to allow you to translate templates into JavaScript running on the client. This function allows a developer to mark a Template::Declare template as static (unchanging), so that the compiled version can be cached on the client side and inserted with javascript. Action TODO Document this... This is part of the client-caching system being developed for Perl to allow you to translate templates into JavaScript running on the client. This function allows a developer to mark a Template::Declare template as an action. SEE ALSO
Jifty::View::Declare, Template::Declare, Jifty::View::Declare::Helpers LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::View::Declare::BaseClass(3pm)

Check Out this Related Man Page

Template::Declare::TagSet::RDF::EM(3pm) 		User Contributed Perl Documentation		   Template::Declare::TagSet::RDF::EM(3pm)

NAME
Template::Declare::TagSet::RDF::EM - Template::Declare TAG set for Mozilla's em-rdf SYNOPSIS
# normal use on the user side: use base 'Template::Declare'; use Template::Declare::Tags 'RDF::EM' => { namespace => 'em' }, 'RDF'; template foo => sub { RDF { attr { 'xmlns' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#", 'xmlns:em' => 'http://www.mozilla.org/2004/em-rdf#' } Description { attr { about => 'urn:mozilla:install-manifest' } em::id { 'foo@bar.com' } em::version { '1.2.0' } em::type { '2' } em::creator { 'Agent Zhang' } } } }; DESCRIPTION
Template::Declare::TagSet::RDF::EM defines a full set of Mozilla EM-RDF tags for use in Template::Declare templates. You generally won't use this module directly, but will load it via: use Template::Declare::Tags 'RDF::EM'; METHODS
new( PARAMS ) my $html_tag_set = Template::Declare::TagSet->new({ package => 'EmRDF', namespace => 'em-rdf', }); Constructor inherited from Template::Declare::TagSet. get_tag_list my $list = $tag_set->get_tag_list(); Returns an array ref of all the RDF tags defined by Template::Declare::TagSet::RDF. Here is the complete list: "aboutURL" "contributor" "creator" "description" "developer" "file" "hidden" "homepageURL" "iconURL" "id" "locale" "localized" "maxVersion" "minVersion" "name" "optionsURL" "package" "requires" "skin" "targetApplication" "targetPlatform" "translator" "type" "updateURL" "version" This list may be not exhaustive; if you find some important missing ones, please let us know. :) AUTHOR
Agent Zhang <agentzh@yahoo.cn> SEE ALSO
Template::Declare::TagSet, Template::Declare::TagSet::RDF, Template::Declare::TagSet::XUL, Template::Declare::Tags, Template::Declare. perl v5.10.1 2010-12-08 Template::Declare::TagSet::RDF::EM(3pm)
Man Page