Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
FormatSelectedUrl ( ContentItem selectedItem, string path ) : string |
public EditUrlManager ( IUrlParser parser, N2.Configuration.EditSection config ) : System | ||
parser | IUrlParser | |
config | N2.Configuration.EditSection | |
return | System |
public GetDeleteUrl ( ContentItem selectedItem ) : string | ||
selectedItem | ContentItem | The currently selected item. |
return | string |
public GetEditExistingItemUrl ( ContentItem item, string returnUrl = null, string alternativeEditorPath = null ) : string | ||
item | ContentItem | The item to edit. |
returnUrl | string | |
alternativeEditorPath | string | |
return | string |
public GetEditInterfaceUrl ( ContentItem selectedItem ) : string | ||
selectedItem | ContentItem | The item to select in edit mode. |
return | string |
public GetEditInterfaceUrl ( ViewPreference preference = ViewPreference.Published ) : string | ||
preference | ViewPreference | |
return | string |
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. |
return | string |
public GetManagementInterfaceUrl ( ) : string | ||
return | string |
public GetNavigationUrl ( ContentItem selectedItem ) : string | ||
selectedItem | ContentItem | The currently selected item. |
return | string |
public GetPreviewUrl ( ContentItem selectedItem ) : string | ||
selectedItem | ContentItem | The currently selected item. |
return | string |
public GetSelectNewItemUrl ( ContentItem selectedItem ) : string | ||
selectedItem | ContentItem | The currently selected item. |
return | string |
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) |
return | string |
public ResolveResourceUrl ( string resourceUrl ) : string | ||
resourceUrl | string | |
return | string |