Mercurial > pub > Impl
diff Lib/IMPL/Web/TDocument.pm @ 6:e2cd73ccc5bd
DOM In development
author | Sergey |
---|---|
date | Fri, 14 Aug 2009 16:14:13 +0400 |
parents | |
children | 94d47b388442 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/IMPL/Web/TDocument.pm Fri Aug 14 16:14:13 2009 +0400 @@ -0,0 +1,27 @@ +package IMPL::Web::TDocument; +use strict; +use warnings; + +use base qw(IMPL::DOM::Node); +use Template::Context; +use Template::Provider; +use IMPL::Class::Property; +use File::Spec; + +BEGIN { + public property Templates => prop_get | owner_set; + public property Context => prop_get | owner_set; +} + +our %CTOR = ( + 'IMPL::DOM::Node' => sub { nodeName => 'document' } +); + +sub load { + my ($this,$file) = @_; + + $file = File::Spec->rel2abs($file); + +} + +1;