C# 클래스 Sitecore.SharedSource.Commons.Utilities.MediaLibrary.MediaFieldUtil

Methods for dealing with media library items in an import
파일 보기 프로젝트 열기: Velir/Sitecore-Commons

공개 메소드들

메소드 설명
FieldContainsValidMediaLink ( FileField fileField, Database db, HttpRequest request ) : bool

Checks to see if the passed in file field is linking to a valid media item.

GetFileFieldXmlString ( MediaItem mediaItem ) : string

Gets the file field string for a specified media item.

GetImageFieldXmlString ( MediaItem mediaItem ) : string

Gets the image field string for a specified media item.

메소드 상세

FieldContainsValidMediaLink() 공개 정적인 메소드

Checks to see if the passed in file field is linking to a valid media item.
public static FieldContainsValidMediaLink ( FileField fileField, Database db, HttpRequest request ) : bool
fileField FileField The file or image field.
db Database The Sitecore db.
request System.Web.HttpRequest The request.
리턴 bool

GetFileFieldXmlString() 공개 정적인 메소드

Gets the file field string for a specified media item.
public static GetFileFieldXmlString ( MediaItem mediaItem ) : string
mediaItem MediaItem The media item.
리턴 string

GetImageFieldXmlString() 공개 정적인 메소드

Gets the image field string for a specified media item.
public static GetImageFieldXmlString ( MediaItem mediaItem ) : string
mediaItem MediaItem The media item.
리턴 string