C# Class formulate.app.Trees.Helpers.FolderHelper

Helps with folders in the Formulate tree.
Afficher le fichier Open project: rhythmagency/formulate Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

AddCreateFolderAction() public méthode

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. ///
Résultat void

AddDeleteFolderAction() public méthode

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. ///
Résultat void

AddFolderToTree() public méthode

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.
Résultat void

AddMoveFolderAction() public méthode

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. ///
Résultat void

FolderHelper() public méthode

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. ///
Résultat System.Linq