git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git]
/
examples
/
component-loader
/
boxes.php
diff --git a/examples/component-loader/boxes.php
b/examples/component-loader/boxes.php
new file mode 100644
(file)
index 0000000..
bb94a17
--- /dev/null
+++ b/
examples/component-loader/boxes.php
@@ -0,0
+1,11
@@
+<?php
+$total = $_POST["total"];
+$items = array();
+for ($i = 1; $i <= $total; ++$i) {
+ array_push($items, array(
+ 'flex'=>1,
+ 'html'=>"Item $i"
+ ));
+}
+echo json_encode($items);
+?>
\ No newline at end of file