summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-02 09:56:29 +0000
committerctrlaltca@gmail.com <>2011-06-02 09:56:29 +0000
commitb9f9a16d7eefc48ac489c8cb2b87749459bb3d38 (patch)
tree2cec49f90dd8cd2071bd86efa9c2a6e8a6dfcbe4 /demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php
parent67666aaccb4b4743a084b214722e1173e827e9d1 (diff)
merged documentation changes from branch/3.1 to trunk/
Diffstat (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php')
-rw-r--r--demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php52
1 files changed, 0 insertions, 52 deletions
diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php
deleted file mode 100644
index 60beb30e..00000000
--- a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample5.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-class Sample5 extends TPage
-{
- protected function getData()
- {
- return array(
- array(
- 'name'=>'North',
- 'detail'=>array(
- array('name'=>'John','age'=>30,'position'=>'Program Manager'),
- array('name'=>'Edward','age'=>35,'position'=>'Developer'),
- array('name'=>'Walter','age'=>28,'position'=>'Developer'),
- ),
- ),
- array(
- 'name'=>'West',
- 'detail'=>array(
- array('name'=>'Cary','age'=>31,'position'=>'Senior Manager'),
- array('name'=>'Ted','age'=>25,'position'=>'Developer'),
- array('name'=>'Kevin','age'=>28,'position'=>'Developer'),
- ),
- ),
- array(
- 'name'=>'East',
- 'detail'=>array(
- array('name'=>'Shawn','age'=>30,'position'=>'Sales Manager'),
- array('name'=>'Larry','age'=>28,'position'=>'Document Writer'),
- ),
- ),
- array(
- 'name'=>'South',
- 'detail'=>array(
- array('name'=>'King','age'=>30,'position'=>'Program Manager'),
- array('name'=>'Carter','age'=>22,'position'=>'Developer'),
- ),
- ),
- );
- }
-
- public function onLoad($param)
- {
- parent::onLoad($param);
- if(!$this->IsPostBack)
- {
- $this->Repeater->DataSource=$this->getData();
- $this->Repeater->dataBind();
- }
- }
-}
-
-?> \ No newline at end of file