C# Class Rebel.Cms.Web.Trees.SupportsEditorTreeController

An abstract tree that supports menu actions with an editor
Inheritance: TreeController
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
GetEditorUrl ( HiveId id, System.Web.Mvc.FormCollection queryStrings ) : string

Return the editor URL for the currrent node depending on the data found in the query strings

This checks if the tree there is a OnNodeClick handler assigned, if so, it assigns it, otherwise it checks if the tree is in DialogMode, if it is then it returns an empty handler, otherwise it sets the Url to the editor's url.

Méthodes protégées

Méthode Description
SupportsEditorTreeController ( IBackOfficeRequestContext requestContext ) : System

Method Details

GetEditorUrl() public méthode

Return the editor URL for the currrent node depending on the data found in the query strings
This checks if the tree there is a OnNodeClick handler assigned, if so, it assigns it, otherwise it checks if the tree is in DialogMode, if it is then it returns an empty handler, otherwise it sets the Url to the editor's url.
public GetEditorUrl ( HiveId id, System.Web.Mvc.FormCollection queryStrings ) : string
id HiveId
queryStrings System.Web.Mvc.FormCollection
Résultat string

SupportsEditorTreeController() protected méthode

protected SupportsEditorTreeController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
Résultat System