C# Class SenseNet.Portal.Portlets.ContentHandlers.FormItem

Inheritance: SenseNet.ContentRepository.GenericContent
Datei anzeigen Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
FormItem ( Node parent ) : System
FormItem ( Node parent, string nodeTypeName ) : System
GetProperty ( string name ) : object
Save ( NodeSaveSettings settings ) : void
SetProperty ( string name, object value ) : void

Protected Methods

Method Description
CreateEmailBody ( bool isHtml ) : string
CreateEmailText ( ) : string
FormItem ( NodeToken nt ) : System
GetSender ( Form form ) : string
GetSenderOfSubmiter ( Form form ) : string
GetSubmitterAddress ( string emailField, Content c ) : string
ReplaceField ( string body, bool isHtml, Content itemContent ) : string
SendMail ( ) : void

Private Methods

Method Description
GenerateName ( ) : string

Method Details

CreateEmailBody() protected method

protected CreateEmailBody ( bool isHtml ) : string
isHtml bool
return string

CreateEmailText() protected method

protected CreateEmailText ( ) : string
return string

FormItem() public method

public FormItem ( Node parent ) : System
parent Node
return System

FormItem() public method

public FormItem ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
return System

FormItem() protected method

protected FormItem ( NodeToken nt ) : System
nt SenseNet.ContentRepository.Storage.NodeToken
return System

GetProperty() public method

public GetProperty ( string name ) : object
name string
return object

GetSender() protected method

protected GetSender ( Form form ) : string
form Form
return string

GetSenderOfSubmiter() protected method

protected GetSenderOfSubmiter ( Form form ) : string
form Form
return string

GetSubmitterAddress() protected static method

protected static GetSubmitterAddress ( string emailField, Content c ) : string
emailField string
c Content
return string

ReplaceField() protected method

protected ReplaceField ( string body, bool isHtml, Content itemContent ) : string
body string
isHtml bool
itemContent Content
return string

Save() public method

public Save ( NodeSaveSettings settings ) : void
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
return void

SendMail() protected method

protected SendMail ( ) : void
return void

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void