summaryrefslogtreecommitdiff
path: root/demos/sqlmap-sample/protected/pages/ProductList.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sqlmap-sample/protected/pages/ProductList.php')
-rw-r--r--demos/sqlmap-sample/protected/pages/ProductList.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/demos/sqlmap-sample/protected/pages/ProductList.php b/demos/sqlmap-sample/protected/pages/ProductList.php
deleted file mode 100644
index a35c40ea..00000000
--- a/demos/sqlmap-sample/protected/pages/ProductList.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-class ProductList extends TPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
- if(!$this->IsPostBack)
- {
- $sqlmap = $this->Application->Modules['petshop-sqlmap'];
- $products = $sqlmap->queryForList('SelectAllProducts');
- $this->productList->setDataSource($products);
- $this->productList->dataBind();
- }
- }
-}
-
-?> \ No newline at end of file