C# 클래스 Rock.Field.Types.CampusFieldType

Field Type to select a single (or null) CampusFieldType
상속: FieldType
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, ParameterExpression parameterExpression ) : Expression

Gets the filters expression.

ConfigurationControls ( ) : List

Creates the HTML controls required to configure this type of field

ConfigurationKeys ( ) : List

Returns a list of the configuration keys

ConfigurationValues ( List controls ) : ConfigurationValue>.Dictionary

Gets the configuration value.

EditControl ( ConfigurationValue>.Dictionary configurationValues, string id ) : Control

Creates the control(s) necessary for prompting user for a new value

FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control

Gets the filter compare control.

FilterValueControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control

Gets the filter value control.

FormatFilterValueValue ( ConfigurationValue>.Dictionary configurationValues, string value ) : string

Formats the filter value value.

FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string

Returns the field's current value(s)

GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string

Reads new values entered by the user for the field returns Campus.Guid as string

GetEditValueAsEntityId ( System control, ConfigurationValue>.Dictionary configurationValues ) : int?

Gets the edit value as the IEntity.Id

GetEntity ( string value ) : IEntity

Gets the entity.

GetEntity ( string value, RockContext rockContext ) : IEntity

Gets the entity.

GetEqualToCompareValue ( ) : string

Gets the equal to compare value (types that don't support an equalto comparison (i.e. singleselect) should return null

GetFilterCompareValue ( Control control, FilterMode filterMode ) : string

Gets the filter compare value.

GetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues ) : string

Gets the filter value value.

SetConfigurationValues ( List controls, ConfigurationValue>.Dictionary configurationValues ) : void

Sets the configuration value.

SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void

Sets the value. Expects value as a Campus.Guid as string

SetEditValueFromEntityId ( System control, ConfigurationValue>.Dictionary configurationValues, int id ) : void

Sets the edit value from IEntity.Id value

SetFilterCompareValue ( Control control, string value ) : void

Sets the filter compare value.

SetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues, string value ) : void

Sets the filter value value.

메소드 상세

AttributeFilterExpression() 공개 메소드

Gets the filters expression.
public AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, ParameterExpression parameterExpression ) : Expression
configurationValues ConfigurationValue>.Dictionary The configuration values.
filterValues List The filter values.
parameterExpression ParameterExpression The parameter expression.
리턴 Expression

ConfigurationControls() 공개 메소드

Creates the HTML controls required to configure this type of field
public ConfigurationControls ( ) : List
리턴 List

ConfigurationKeys() 공개 메소드

Returns a list of the configuration keys
public ConfigurationKeys ( ) : List
리턴 List

ConfigurationValues() 공개 메소드

Gets the configuration value.
public ConfigurationValues ( List controls ) : ConfigurationValue>.Dictionary
controls List The controls.
리턴 ConfigurationValue>.Dictionary

EditControl() 공개 메소드

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.Dictionary configurationValues, string id ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string
리턴 System.Web.UI.Control

FilterCompareControl() 공개 메소드

Gets the filter compare control.
public FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode FilterMode The filter mode.
리턴 Control

FilterValueControl() 공개 메소드

Gets the filter value control.
public FilterValueControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode FilterMode The filter mode.
리턴 Control

FormatFilterValueValue() 공개 메소드

Formats the filter value value.
public FormatFilterValueValue ( ConfigurationValue>.Dictionary configurationValues, string value ) : string
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
리턴 string

FormatValue() 공개 메소드

Returns the field's current value(s)
public FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl System The parent control.
value string Information about the value
configurationValues ConfigurationValue>.Dictionary The configuration values.
condensed bool Flag indicating if the value should be condensed (i.e. for use in a grid column)
리턴 string

GetEditValue() 공개 메소드

Reads new values entered by the user for the field returns Campus.Guid as string
public GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string
control System Parent control that controls were added to in the CreateEditControl() method
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 string

GetEditValueAsEntityId() 공개 메소드

Gets the edit value as the IEntity.Id
public GetEditValueAsEntityId ( System control, ConfigurationValue>.Dictionary configurationValues ) : int?
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 int?

GetEntity() 공개 메소드

Gets the entity.
public GetEntity ( string value ) : IEntity
value string The value.
리턴 IEntity

GetEntity() 공개 메소드

Gets the entity.
public GetEntity ( string value, RockContext rockContext ) : IEntity
value string The value.
rockContext RockContext The rock context.
리턴 IEntity

GetEqualToCompareValue() 공개 메소드

Gets the equal to compare value (types that don't support an equalto comparison (i.e. singleselect) should return null
public GetEqualToCompareValue ( ) : string
리턴 string

GetFilterCompareValue() 공개 메소드

Gets the filter compare value.
public GetFilterCompareValue ( Control control, FilterMode filterMode ) : string
control Control The control.
filterMode FilterMode The filter mode.
리턴 string

GetFilterValueValue() 공개 메소드

Gets the filter value value.
public GetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues ) : string
control Control The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
리턴 string

SetConfigurationValues() 공개 메소드

Sets the configuration value.
public SetConfigurationValues ( List controls, ConfigurationValue>.Dictionary configurationValues ) : void
controls List
configurationValues ConfigurationValue>.Dictionary
리턴 void

SetEditValue() 공개 메소드

Sets the value. Expects value as a Campus.Guid as string
public SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
리턴 void

SetEditValueFromEntityId() 공개 메소드

Sets the edit value from IEntity.Id value
public SetEditValueFromEntityId ( System control, ConfigurationValue>.Dictionary configurationValues, int id ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
id int The identifier.
리턴 void

SetFilterCompareValue() 공개 메소드

Sets the filter compare value.
public SetFilterCompareValue ( Control control, string value ) : void
control Control The control.
value string The value.
리턴 void

SetFilterValueValue() 공개 메소드

Sets the filter value value.
public SetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control Control The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
리턴 void