Method | Description | |
---|---|---|
FieldContainsValidMediaLink ( FileField fileField, Database db, |
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.
|
public static FieldContainsValidMediaLink ( FileField fileField, Database db, |
||
fileField | FileField | The file or image field. |
db | Database | The Sitecore db. |
request | The request. | |
return | bool |
public static GetFileFieldXmlString ( MediaItem mediaItem ) : string | ||
mediaItem | MediaItem | The media item. |
return | string |
public static GetImageFieldXmlString ( MediaItem mediaItem ) : string | ||
mediaItem | MediaItem | The media item. |
return | string |