C# 클래스 Core.Forms.Helpers.FormsBuilderWidgetHelper

파일 보기 프로젝트 열기: coreframework/Core-Framework

공개 메소드들

메소드 설명
BindWidgetModel ( ICoreWidgetInstance instance ) : FormBuilderWidget

Binds the widget model.

CloneFormsBuilderWidget ( ICoreWidgetInstance instance ) : long?

Clones the forms builder widget.

HandleFormData ( FormBuilderWidget model, System.Web.Mvc.FormCollection collection, ICorePrincipal user ) : bool

Handles the form data.

Remove ( ICoreWidgetInstance coreWidgetInstance ) : void

Removes the specified core widget instance.

SaveFormBuilderWidget ( FormBuilderWidgetViewModel model ) : FormBuilderWidgetViewModel

Saves the form builder widget.

Validate ( FormBuilderWidget model, System.Web.Mvc.FormCollection collection, ModelStateDictionary modelState ) : void

Validates the form model.

비공개 메소드들

메소드 설명
GetRadioButtonValue ( String values, String elementName, String selectedElementName ) : String

Gets the radio button value.

ValidateCaptcha ( System.Web.Mvc.FormCollection collection, ModelStateDictionary modelState, String captchaKey, String captchaValue ) : void

Validates the captcha.

메소드 상세

BindWidgetModel() 공개 정적인 메소드

Binds the widget model.
public static BindWidgetModel ( ICoreWidgetInstance instance ) : FormBuilderWidget
instance ICoreWidgetInstance The instance.
리턴 Core.Forms.NHibernate.Models.FormBuilderWidget

CloneFormsBuilderWidget() 공개 정적인 메소드

Clones the forms builder widget.
public static CloneFormsBuilderWidget ( ICoreWidgetInstance instance ) : long?
instance ICoreWidgetInstance The instance.
리턴 long?

HandleFormData() 공개 정적인 메소드

Handles the form data.
public static HandleFormData ( FormBuilderWidget model, System.Web.Mvc.FormCollection collection, ICorePrincipal user ) : bool
model Core.Forms.NHibernate.Models.FormBuilderWidget The model.
collection System.Web.Mvc.FormCollection The collection.
user ICorePrincipal The user.
리턴 bool

Remove() 공개 정적인 메소드

Removes the specified core widget instance.
public static Remove ( ICoreWidgetInstance coreWidgetInstance ) : void
coreWidgetInstance ICoreWidgetInstance The core widget instance.
리턴 void

SaveFormBuilderWidget() 공개 정적인 메소드

Saves the form builder widget.
public static SaveFormBuilderWidget ( FormBuilderWidgetViewModel model ) : FormBuilderWidgetViewModel
model FormBuilderWidgetViewModel The model.
리턴 FormBuilderWidgetViewModel

Validate() 공개 정적인 메소드

Validates the form model.
public static Validate ( FormBuilderWidget model, System.Web.Mvc.FormCollection collection, ModelStateDictionary modelState ) : void
model Core.Forms.NHibernate.Models.FormBuilderWidget The model.
collection System.Web.Mvc.FormCollection The collection.
modelState ModelStateDictionary State of the model.
리턴 void