code: def load( self ):
          
          if self._loaded:
              return
          
          self._loaded = True
          self.setChildIndicatorPolicy(self.DontShowIndicatorWhenChildless)
          
          if not self.isFolder():
              return
          
          path = self.filepath()
          if not os.path.isdir(path):
              path = os.path.dirname(path)
          
          for name in os.listdir(path):
              # ignore 'hidden' folders
              if name.startswith('_') and not name.startswith('__'):
                  continue
              
              # ignore special cases (only want modules for this)
              if '-' in name:
                  continue
              
              # use the index or __init__ information
              if name in ('index.html', '__init__.html'):
                  self._url = 'file:///%s/%s' % (path, name)
                  continue
              
              # otherwise, load a childitem
              filepath = os.path.join(path, name)
              folder = os.path.isdir(filepath)
              XdkEntryItem(self, filepath, folder=folder)
docs: Loads this item.