C# 클래스 formulate.app.Trees.Helpers.FolderHelper

Helps with folders in the Formulate tree.
파일 보기 프로젝트 열기: rhythmagency/formulate 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddCreateFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void

Adds the "Create Folder" action to the folder's menu.

AddDeleteFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void

Adds the "Delete Form" action to the menu.

AddFolderToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, Folder folder, string icon ) : void

Adds a folder node to the tree.

AddMoveFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, Folder folder ) : void

Adds the "Move" action to the menu.

FolderHelper ( IEntityPersistence persistence, Umbraco.Web.Trees.TreeController tree ) : System.Linq

Primary constructor.

메소드 상세

AddCreateFolderAction() 공개 메소드

Adds the "Create Folder" action to the folder's menu.
public AddCreateFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items. ///
리턴 void

AddDeleteFolderAction() 공개 메소드

Adds the "Delete Form" action to the menu.
public AddDeleteFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items to add the action to. ///
리턴 void

AddFolderToTree() 공개 메소드

Adds a folder node to the tree.
public AddFolderToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, Folder folder, string icon ) : void
nodes TreeNodeCollection The tree nodes to add to.
queryStrings FormDataCollection The query string.
folder Folder The folder.
icon string The folder's icon.
리턴 void

AddMoveFolderAction() 공개 메소드

Adds the "Move" action to the menu.
public AddMoveFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, Folder folder ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items to add the action to. ///
folder Folder /// The folder. ///
리턴 void

FolderHelper() 공개 메소드

Primary constructor.
public FolderHelper ( IEntityPersistence persistence, Umbraco.Web.Trees.TreeController tree ) : System.Linq
persistence IEntityPersistence /// The entity persistence. ///
tree Umbraco.Web.Trees.TreeController /// The tree controller. ///
리턴 System.Linq