concrete/controllers/backend/tree/node.php
public function load()
    {
        $node = $this->loadNode();
        $r = array();
        foreach ($node->getChildNodes() as $childnode) {
            $json = $childnode->getTreeNodeJSON();
            if ($json) {
                $r[] = $json;
            }
        }
        return new JsonResponse($r);
    }
public function load()
    {
        $node = $this->loadNode();
        $r = array();
        foreach ($node->getChildNodes() as $childnode) {
            $json = $childnode->getTreeNodeJSON();
            if ($json) {
                $r[] = $json;
            }
        }
        return new JsonResponse($r);
    }
public function load ( ) { $ node = $ this -> loadNode ( ) ; $ r = array ( ) ; foreach ( $ node -> getChildNodes ( ) as $ childnode ) { $ json = $ childnode -> getTreeNodeJSON ( ) ; if ( $ json ) { $ r [ ] = $ json ; } } return new JsonResponse ( $ r ) ; }
Returns the child nodes of the current node.
@return JsonResponse
Returns the child nodes of the current node .