diff options
Diffstat (limited to 'buildscripts/chmbuilder/classes/pages/Classes.php')
-rw-r--r-- | buildscripts/chmbuilder/classes/pages/Classes.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/buildscripts/chmbuilder/classes/pages/Classes.php b/buildscripts/chmbuilder/classes/pages/Classes.php index ee2672b4..aeaf0a0a 100644 --- a/buildscripts/chmbuilder/classes/pages/Classes.php +++ b/buildscripts/chmbuilder/classes/pages/Classes.php @@ -1,19 +1,19 @@ -<?php
-
-class Classes extends TPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
- $dataFile=Prado::getPathOfNamespace('Application.Data.classes','.data');
- $classes=unserialize(file_get_contents($dataFile));
- $data=array();
- $baseUrl=$this->Request->ApplicationUrl;
- foreach(array_keys($classes) as $className)
- $data["$className.html"]=$className;
- $this->ClassList->DataSource=$data;
- $this->ClassList->dataBind();
- }
-}
-
-?>
+<?php + +class Classes extends TPage +{ + public function onLoad($param) + { + parent::onLoad($param); + $dataFile=Prado::getPathOfNamespace('Application.Data.classes','.data'); + $classes=unserialize(file_get_contents($dataFile)); + $data=array(); + $baseUrl=$this->Request->ApplicationUrl; + foreach(array_keys($classes) as $className) + $data["$className.html"]=$className; + $this->ClassList->DataSource=$data; + $this->ClassList->dataBind(); + } +} + +?> |