X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/direct/php/classes/TestAction.php 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; + } +}