Mercurial > pub > Impl
comparison Lib/IMPL/Web/TT/Document.pm @ 136:f6af119ac741
url routines for templates
author | wizard |
---|---|
date | Fri, 25 Jun 2010 16:45:56 +0400 |
parents | 5b849974bed8 |
children | bd10093bb122 |
comparison
equal
deleted
inserted
replaced
135:5b849974bed8 | 136:f6af119ac741 |
---|---|
3 use warnings; | 3 use warnings; |
4 | 4 |
5 use base qw(IMPL::DOM::Document IMPL::Object::Disposable); | 5 use base qw(IMPL::DOM::Document IMPL::Object::Disposable); |
6 use Template::Context; | 6 use Template::Context; |
7 use Template::Provider; | 7 use Template::Provider; |
8 use Template::Plugin::URL; | |
9 use IMPL::Class::Property; | 8 use IMPL::Class::Property; |
10 use File::Spec; | 9 use File::Spec; |
11 use Scalar::Util qw(blessed); | 10 use Scalar::Util qw(blessed); |
12 use IMPL::Web::TT::Collection; | 11 use IMPL::Web::TT::Collection; |
13 use IMPL::Web::TT::Control; | 12 use IMPL::Web::TT::Control; |
14 use Carp; | 13 use Carp; |
15 | |
16 $Template::Plugin::URL::JOINT = '&'; | |
17 | 14 |
18 BEGIN { | 15 BEGIN { |
19 private property _provider => prop_all; | 16 private property _provider => prop_all; |
20 private property _context => prop_all; | 17 private property _context => prop_all; |
21 public property cache => prop_all; | 18 public property cache => prop_all; |