X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/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; + } +}