C# 클래스 N2.Edit.EditUrlManager

상속: IEditUrlManager
파일 보기 프로젝트 열기: n2cms/n2cms 1 사용 예제들

공개 메소드들

메소드 설명
EditUrlManager ( IUrlParser parser, N2.Configuration.EditSection config ) : System
GetDeleteUrl ( ContentItem selectedItem ) : string

Gets the url to the delete item page.

GetEditExistingItemUrl ( ContentItem item, string returnUrl = null, string alternativeEditorPath = null ) : string

Gets the url to the edit page where to edit an existing item.

GetEditInterfaceUrl ( ContentItem selectedItem ) : string

Gets the url to the edit interface.

GetEditInterfaceUrl ( ViewPreference preference = ViewPreference.Published ) : string

Gets the url to the edit interface.

GetEditNewPageUrl ( ContentItem selected, ItemDefinition definition, string zoneName, CreationPosition position ) : string

Gets the url to edit page creating new items.

GetManagementInterfaceUrl ( ) : string

Gets the url to the edit interface.

GetNavigationUrl ( ContentItem selectedItem ) : string

Gets the url for the navigation frame.

GetPreviewUrl ( ContentItem selectedItem ) : string

Gets the url for the preview frame.

GetSelectNewItemUrl ( ContentItem selectedItem ) : string

Gets the url to the select type of item to create.

GetSelectNewItemUrl ( ContentItem selectedItem, string zoneName ) : string

Gets the url to the select type of item to create.

ResolveResourceUrl ( string resourceUrl ) : string

Gets the url to the given resource underneath the management interface.

비공개 메소드들

메소드 설명
FormatSelectedUrl ( ContentItem selectedItem, string path ) : string

메소드 상세

EditUrlManager() 공개 메소드

public EditUrlManager ( IUrlParser parser, N2.Configuration.EditSection config ) : System
parser IUrlParser
config N2.Configuration.EditSection
리턴 System

GetDeleteUrl() 공개 메소드

Gets the url to the delete item page.
public GetDeleteUrl ( ContentItem selectedItem ) : string
selectedItem ContentItem The currently selected item.
리턴 string

GetEditExistingItemUrl() 공개 메소드

Gets the url to the edit page where to edit an existing item.
public GetEditExistingItemUrl ( ContentItem item, string returnUrl = null, string alternativeEditorPath = null ) : string
item ContentItem The item to edit.
returnUrl string
alternativeEditorPath string
리턴 string

GetEditInterfaceUrl() 공개 메소드

Gets the url to the edit interface.
public GetEditInterfaceUrl ( ContentItem selectedItem ) : string
selectedItem ContentItem The item to select in edit mode.
리턴 string

GetEditInterfaceUrl() 공개 메소드

Gets the url to the edit interface.
public GetEditInterfaceUrl ( ViewPreference preference = ViewPreference.Published ) : string
preference ViewPreference
리턴 string

GetEditNewPageUrl() 공개 메소드

Gets the url to edit page creating new items.
public GetEditNewPageUrl ( ContentItem selected, ItemDefinition definition, string zoneName, CreationPosition position ) : string
selected ContentItem The selected item.
definition ItemDefinition The type of item to edit.
zoneName string The zone to add the item to.
position CreationPosition The position relative to the selected item to add the item.
리턴 string

GetManagementInterfaceUrl() 공개 메소드

Gets the url to the edit interface.
public GetManagementInterfaceUrl ( ) : string
리턴 string

GetNavigationUrl() 공개 메소드

Gets the url for the navigation frame.
public GetNavigationUrl ( ContentItem selectedItem ) : string
selectedItem ContentItem The currently selected item.
리턴 string

GetPreviewUrl() 공개 메소드

Gets the url for the preview frame.
public GetPreviewUrl ( ContentItem selectedItem ) : string
selectedItem ContentItem The currently selected item.
리턴 string

GetSelectNewItemUrl() 공개 메소드

Gets the url to the select type of item to create.
public GetSelectNewItemUrl ( ContentItem selectedItem ) : string
selectedItem ContentItem The currently selected item.
리턴 string

GetSelectNewItemUrl() 공개 메소드

Gets the url to the select type of item to create.
public GetSelectNewItemUrl ( ContentItem selectedItem, string zoneName ) : string
selectedItem ContentItem The currently selected item.
zoneName string The zone in which to create the item (typically parts)
리턴 string

ResolveResourceUrl() 공개 메소드

Gets the url to the given resource underneath the management interface.
public ResolveResourceUrl ( string resourceUrl ) : string
resourceUrl string
리턴 string