summaryrefslogtreecommitdiff
path: root/buildscripts/chmbuilder/classes/pages/Classes.php
diff options
context:
space:
mode:
authorxue <>2006-10-18 01:38:47 +0000
committerxue <>2006-10-18 01:38:47 +0000
commitaf832a5a9018c7dcc2f24111d82049902269fc53 (patch)
treeb66193de9e7b75c916a92d6c951a22a90d85fed6 /buildscripts/chmbuilder/classes/pages/Classes.php
parent459bb9c618a8f2897da22129167e634589435e38 (diff)
merge from 3.0 branch till 1463.
Diffstat (limited to 'buildscripts/chmbuilder/classes/pages/Classes.php')
-rw-r--r--buildscripts/chmbuilder/classes/pages/Classes.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/buildscripts/chmbuilder/classes/pages/Classes.php b/buildscripts/chmbuilder/classes/pages/Classes.php
new file mode 100644
index 00000000..ee2672b4
--- /dev/null
+++ b/buildscripts/chmbuilder/classes/pages/Classes.php
@@ -0,0 +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();
+ }
+}
+
+?>