X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..e9397f91ede62d446aed37d23256e8938fc4c335:/examples/direct/php/classes/TestAction.php?ds=inline diff --git a/examples/direct/php/classes/TestAction.php b/examples/direct/php/classes/TestAction.php index 75bc869c..77a83d1d 100644 --- a/examples/direct/php/classes/TestAction.php +++ b/examples/direct/php/classes/TestAction.php @@ -1,36 +1,36 @@ -'n' . $i, - 'text'=>'Node ' . $i, - 'leaf'=>false - )); - } - }else if(strlen($id) == 2){ - $num = substr($id, 1); - for($i = 1; $i <= 5; ++$i){ - array_push($out, array( - 'id'=>$id . $i, - 'text'=>'Node ' . $num . '.' . $i, - 'leaf'=>true - )); - } - } - return $out; - } -} +'n' . $i, + 'text'=>'Node ' . $i, + 'leaf'=>false + )); + } + }else if(strlen($id) == 2){ + $num = substr($id, 1); + for($i = 1; $i <= 5; ++$i){ + array_push($out, array( + 'id'=>$id . $i, + 'text'=>'Node ' . $num . '.' . $i, + 'leaf'=>true + )); + } + } + return $out; + } +}