C# 클래스 Sitecore.SharedSource.Commons.Utilities.FieldUtil

파일 보기 프로젝트 열기: Velir/Sitecore-Commons

공개 메소드들

메소드 설명
CheckIfFieldIsExcluded ( FieldType fieldType ) : bool

Checks if field should be excluded from Generator.

CheckIfFieldPageEditable ( FieldType fieldType ) : bool

Checks if field page editable, this is based on the type of field that it is.

GetAllFields ( FieldCollection fields ) : List

Gets both user nad system fields from a FieldCollection.

GetFieldType ( string fieldTypeString ) : FieldType

Translates the field type string from Sitecore to the proper field type enum option

GetSystemFields ( FieldCollection fields ) : List

Gets the system fields from a FieldCollection.

GetUserFields ( FieldCollection fields ) : List

Gets the non system fields from a FieldCollection.

GetUserRichTextFields ( FieldCollection fields ) : List

Gets the non system rich text fields from a FieldCollection.

메소드 상세

CheckIfFieldIsExcluded() 공개 정적인 메소드

Checks if field should be excluded from Generator.
public static CheckIfFieldIsExcluded ( FieldType fieldType ) : bool
fieldType FieldType Type of the field.
리턴 bool

CheckIfFieldPageEditable() 공개 정적인 메소드

Checks if field page editable, this is based on the type of field that it is.
public static CheckIfFieldPageEditable ( FieldType fieldType ) : bool
fieldType FieldType Type of the field.
리턴 bool

GetAllFields() 공개 정적인 메소드

Gets both user nad system fields from a FieldCollection.
public static GetAllFields ( FieldCollection fields ) : List
fields FieldCollection The fields.
리턴 List

GetFieldType() 공개 정적인 메소드

Translates the field type string from Sitecore to the proper field type enum option
public static GetFieldType ( string fieldTypeString ) : FieldType
fieldTypeString string The field type string.
리턴 FieldType

GetSystemFields() 공개 정적인 메소드

Gets the system fields from a FieldCollection.
public static GetSystemFields ( FieldCollection fields ) : List
fields FieldCollection The fields.
리턴 List

GetUserFields() 공개 정적인 메소드

Gets the non system fields from a FieldCollection.
public static GetUserFields ( FieldCollection fields ) : List
fields FieldCollection The fields.
리턴 List

GetUserRichTextFields() 공개 정적인 메소드

Gets the non system rich text fields from a FieldCollection.
public static GetUserRichTextFields ( FieldCollection fields ) : List
fields FieldCollection The fields.
리턴 List