summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Klausner <domm@cpan.org>2008-12-01 21:33:32 +0100
committerThomas Klausner <domm@cpan.org>2008-12-01 21:33:32 +0100
commita8b61fae72c0c9e37f463ab73394a670dd9072bc (patch)
tree6638ccc3ad531b95596135ddfd32afc6240f1cfb /lib
parentadded openid server stuff, taken straight from the Net::OpenID::Server docs (diff)
parentMerge branch 'master' of git@git.useperl.at:PAUSE-OpenID (diff)
downloadSimple-OpenID-a8b61fae72c0c9e37f463ab73394a670dd9072bc.tar.gz
Simple-OpenID-a8b61fae72c0c9e37f463ab73394a670dd9072bc.tar.bz2
Simple-OpenID-a8b61fae72c0c9e37f463ab73394a670dd9072bc.zip
Merge branch 'master' of git@git.useperl.at:PAUSE-OpenID
Diffstat (limited to 'lib')
-rw-r--r--lib/PAUSE/OpenID/View/XSLT.pm50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/PAUSE/OpenID/View/XSLT.pm b/lib/PAUSE/OpenID/View/XSLT.pm
new file mode 100644
index 0000000..4e2ab2a
--- /dev/null
+++ b/lib/PAUSE/OpenID/View/XSLT.pm
@@ -0,0 +1,50 @@
+package PAUSE::OpenID::View::XSLT;
+
+use strict;
+use base 'Catalyst::View::XSLT';
+
+# example configuration
+
+__PACKAGE__->config(
+ # relative paths to the directories with templates
+ INCLUDE_PATH => [
+ MyApp->path_to( 'root', 'xslt' ),
+ MyApp->path_to( 'templates', 'xsl' ),
+ ],
+ TEMPLATE_EXTENSION => '.xsl', # default extension when getting template name from the current action
+ DUMP_CONFIG => 1, # use for Debug. Will dump the final (merged) configuration for XSLT view
+ #LibXSLT => { # XML::LibXSLT specific parameters
+ # register_function => [
+ # {
+ # uri => 'urn:catalyst',
+ # name => 'Hello',
+ # subref => sub { return $_[0] },
+ # }
+ # ],
+ #},
+);
+
+=head1 NAME
+
+PAUSE::OpenID::View::XSLT - XSLT View Component
+
+=head1 SYNOPSIS
+
+ See L<PAUSE::OpenID>
+
+=head1 DESCRIPTION
+
+Catalyst XSLT View.
+
+=head1 AUTHOR
+
+Michael Kr�ll,,,
+
+=head1 LICENSE
+
+This library is free software . You can redistribute it and/or modify it under
+the same terms as perl itself.
+
+=cut
+
+1;