The following functions take a Umbraco path or an IPublishedContent object to search for content under that given path/content. It also takes a parameter for "Type" which can be used to select only certain Document Types. You can use String.Empty for the path to search all documents.