diff Lib/IMPL/Web/TT/Document.pm @ 97:964587c5183c

Added SecureCall to Web QueryHandlers stack many bug fixes to Security and Web Application modules
author wizard
date Tue, 04 May 2010 04:04:37 +0400
parents 9d24db321029
children 0e72ad99eef7
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Document.pm	Fri Apr 30 15:03:38 2010 +0400
+++ b/Lib/IMPL/Web/TT/Document.pm	Tue May 04 04:04:37 2010 +0400
@@ -86,6 +86,12 @@
     $this->template($this->context->template($fileName));
 }
 
+sub AddVar {
+	my ($this,$name,$value) = @_;
+	
+	$this->context->stash->set($name,$value);
+}
+
 sub title {
     $_[0]->template->title;
 }