summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/ViewSource.php
diff options
context:
space:
mode:
authorwei <>2006-01-13 13:03:01 +0000
committerwei <>2006-01-13 13:03:01 +0000
commitf0737c5b52373f262a4c8cfd25d4e1bb6ff33aee (patch)
treee4ace9d8b7b9c65721330f13f59f684dce32b9da /tests/FunctionalTests/protected/pages/ViewSource.php
parent52ae5aef521fa7d800e09206342eb9ac17043cd8 (diff)
Move SafeHtml to 3rdParty/SafeHtml. Add TSafeHtml component. Change TTextBox::getText() to use SafeHtml
Diffstat (limited to 'tests/FunctionalTests/protected/pages/ViewSource.php')
-rw-r--r--tests/FunctionalTests/protected/pages/ViewSource.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/ViewSource.php b/tests/FunctionalTests/protected/pages/ViewSource.php
new file mode 100644
index 00000000..eeaf0f80
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/ViewSource.php
@@ -0,0 +1,12 @@
+<?php
+
+class ViewSource extends TPage
+{
+ protected function onLoad($param)
+ {
+ $pageName = $this->Request->getParameter("source");
+ var_dump($pageName);
+ }
+}
+
+?> \ No newline at end of file