protected function fetchContentList( $fullPath, &$node, $target, $depth, $properties )
    {
        // We'll return an array of entries (which is an array of attributes).
        $entries = array();

        if ( $depth === ezcWebdavRequest::DEPTH_ONE || $depth === ezcWebdavRequest::DEPTH_INFINITY )
            // @as added || $depth === ezcWebdavRequest::DEPTH_INFINITY
        {
            // Get all the children of the target node.
            $subTree = $node->subTree( array ( 'Depth' => 1 ) );

            // Build the entries array by going through all the
            // nodes in the subtree and getting their attributes:
            foreach ( $subTree as $someNode )
            {
                $entries[] = $this->fetchNodeInfo( $fullPath, $someNode );
            }
        }

        // Always include the information about the current level node
        $thisNodeInfo = $this->fetchNodeInfo( $fullPath, $node );

        $scriptURL = $fullPath;
        if ( $scriptURL{strlen( $scriptURL ) - 1} !== '/' )
        {
            $scriptURL .= "/";
        }

        $thisNodeInfo["href"] = $scriptURL;
        $entries[] = $thisNodeInfo;

        // Return the content of the target.
        return $entries;
    }