View Source
Class ContentTypeTreeController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[Tree("settings", "documentTypes", SortOrder = 0, TreeGroup = "settingsGroup")]
[PluginController("UmbracoTrees")]
public class ContentTypeTreeController : TreeController, ISearchableTree, IDiscoverable
Constructors
View Source
ContentTypeTreeController(UmbracoTreeSearcher, IGlobalSettings, IUmbracoContextAccessor, ISqlContext, ServiceContext, AppCaches, IProfilingLogger, IRuntimeState, UmbracoHelper)
Declaration
public ContentTypeTreeController(UmbracoTreeSearcher treeSearcher, IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
Parameters
Methods
View Source
CreateRootNode(FormDataCollection)
Declaration
protected override TreeNode CreateRootNode(FormDataCollection queryStrings)
Parameters
Type |
Name |
Description |
FormDataCollection |
queryStrings |
|
Returns
View Source
Declaration
protected override MenuItemCollection GetMenuForNode(string id, FormDataCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
FormDataCollection |
queryStrings |
|
Returns
View Source
GetTreeNodes(String, FormDataCollection)
Declaration
protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
FormDataCollection |
queryStrings |
|
Returns
View Source
Search(String, Int32, Int64, out Int64, String)
Declaration
public IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)
Parameters
Type |
Name |
Description |
System.String |
query |
|
System.Int32 |
pageSize |
|
System.Int64 |
pageIndex |
|
System.Int64 |
totalFound |
|
System.String |
searchFrom |
|
Returns