function (path, id, callback) {
            var parents = scope.tree.pathToPageArray(path);
            for (var p in parents) {
                callback(parents[p]);
            }
        }
function (path, id, callback) {
            var parents = scope.tree.pathToPageArray(path);
            for (var p in parents) {
                callback(parents[p]);
            }
        }
function ( path , id , callback ) { var parents = scope . tree . pathToPageArray ( path ) ; for ( var p in parents ) { callback ( parents [ p ] ) ; } }
Execute callback on all parents *
Execute callback on all parents *