diff options
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/TestComp.php')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/TestComp.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/TestComp.php b/tests/FunctionalTests/features/protected/pages/TestComp.php index f9d02c77..0358357a 100644 --- a/tests/FunctionalTests/features/protected/pages/TestComp.php +++ b/tests/FunctionalTests/features/protected/pages/TestComp.php @@ -1,20 +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);
- }
-}
-
+<?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 |