summaryrefslogtreecommitdiff
path: root/demos/activeblog/protected/App_Pages/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/activeblog/protected/App_Pages/Home.php')
-rw-r--r--demos/activeblog/protected/App_Pages/Home.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/demos/activeblog/protected/App_Pages/Home.php b/demos/activeblog/protected/App_Pages/Home.php
deleted file mode 100644
index 0012e073..00000000
--- a/demos/activeblog/protected/App_Pages/Home.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-class Home extends BlogPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
-
- // sqlite_open(dirname(__FILE__).'/../App_Data/blog.db');
-
- // $finder = UserRecord::finder();
- // $user = $finder->findByPk(1);
- // echo TVarDumper::dump($user,10,true);
- //
- // $finder = PostRecord::finder();
- // $post = $finder->findByPk(1);
- // echo TVarDumper::dump($post,10,true);
- //
- // $finder = CategoryRecord::finder();
- // $categories = $finder->findAll();
- // echo TVarDumper::dump($categories,10,true);
- //
- // $finder = Post2CategoryRecord::finder();
- // $post2category = $finder->findByPk(1,1);
- // echo TVarDumper::dump($post2category,10,true);
- }
-}
-?> \ No newline at end of file