C# Class N2.Edit.New

Inheritance: Web.EditPage
Show file Open project: bherila/n2cms

Protected Properties

Property Type Description
AvailableDefinitions IList
Definitions IDefinitionManager
ZoneName string

Public Methods

Method Description
GetTemplates ( ItemDefinition definition ) : IEnumerable

Protected Methods

Method Description
GetCreationPosition ( ) : CreationPosition
GetEditUrl ( ItemDefinition definition ) : string
GetLocalizedString ( string classKey, string key ) : string
GetLocalizedString ( string classKey, string discriminator, string key ) : string
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnPreInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
rblPosition_OnSelectedIndexChanged ( object sender, EventArgs args ) : void
rblZone_OnSelectedIndexChanged ( object sender, EventArgs args ) : void

Private Methods

Method Description
BuildHierarchy ( ContentItem selected, CreationPosition position ) : string
First ( IEnumerable children, ItemFilter filter ) : ContentItem
GetNodeText ( ContentItem item, bool isCurrent ) : string
GetSelectedZone ( ) : string
Last ( IList children, ItemFilter filter ) : ContentItem
LoadAllowedTypes ( ) : void
LoadZones ( ) : void

Method Details

GetCreationPosition() protected method

protected GetCreationPosition ( ) : CreationPosition
return CreationPosition

GetEditUrl() protected method

protected GetEditUrl ( ItemDefinition definition ) : string
definition ItemDefinition
return string

GetLocalizedString() protected method

protected GetLocalizedString ( string classKey, string key ) : string
classKey string
key string
return string

GetLocalizedString() protected method

protected GetLocalizedString ( string classKey, string discriminator, string key ) : string
classKey string
discriminator string
key string
return string

GetTemplates() public method

public GetTemplates ( ItemDefinition definition ) : IEnumerable
definition ItemDefinition
return IEnumerable

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPreInit() protected method

protected OnPreInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

rblPosition_OnSelectedIndexChanged() protected method

protected rblPosition_OnSelectedIndexChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

rblZone_OnSelectedIndexChanged() protected method

protected rblZone_OnSelectedIndexChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

Property Details

AvailableDefinitions protected property

protected IList AvailableDefinitions
return IList

Definitions protected property

protected IDefinitionManager Definitions
return IDefinitionManager

ZoneName protected property

protected string ZoneName
return string