diff options
author | wei <> | 2007-04-12 08:05:03 +0000 |
---|---|---|
committer | wei <> | 2007-04-12 08:05:03 +0000 |
commit | dc3bf922d9715bfd1b2105be04a9aabc84a1d7d4 (patch) | |
tree | ff97362f718b6ebb482128527402efe03fe1ac43 /tests/FunctionalTests/features/protected/pages/TestComp.php | |
parent | 6178a99df0c722581bc61e35559ac5f8af1cc6e8 (diff) |
Refactor and add TTableGateway, System.Data.Common, System.Data.DataGateway
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/TestComp.php')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/TestComp.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/TestComp.php b/tests/FunctionalTests/features/protected/pages/TestComp.php new file mode 100644 index 00000000..f9d02c77 --- /dev/null +++ b/tests/FunctionalTests/features/protected/pages/TestComp.php @@ -0,0 +1,20 @@ +<?php
+
+Prado::using('Application.pages.MyJavascriptLib');
+
+class TestComp extends TControl
+{
+ private $_class;
+ public function setClass($value)
+ {
+ $this->_class=$value;
+ }
+
+ public function onPreRender($param)
+ {
+ parent::onPreRender($param);
+ MyJavascriptLib::registerPackage($this,$this->_class);
+ }
+}
+
+?>
\ No newline at end of file |