C# 클래스 Tridion.Extensions.DynamicDelivery.Templates.Utils.TridionUtils

파일 보기 프로젝트 열기: rainmaker2k/TridionMVCDotNet

공개 메소드들

메소드 설명
ConstructFileName ( System.Item item ) : string

Construct a filename for an item.

Based on the properties of the item. The filename property must be set, but there can be other aspects set on the item that are taken into account in the filename

GetLocalUri ( TcmUri uriPublication, TcmUri uriItem ) : TcmUri
GetPropertyValue ( System.Item item, string propertyName ) : string

Get a property value from an item, or an empty string if the property value is missing or null.

Simple helper for ConstructFileName, to access item property values

GetPublicationFromContext ( Package package, Engine engine ) : Publication
StripTcdlTags ( string input ) : string

메소드 상세

ConstructFileName() 공개 정적인 메소드

Construct a filename for an item.
Based on the properties of the item. The filename property must be set, but there can be other aspects set on the item that are taken into account in the filename
public static ConstructFileName ( System.Item item ) : string
item System.Item
리턴 string

GetLocalUri() 공개 정적인 메소드

public static GetLocalUri ( TcmUri uriPublication, TcmUri uriItem ) : TcmUri
uriPublication TcmUri
uriItem TcmUri
리턴 TcmUri

GetPropertyValue() 공개 정적인 메소드

Get a property value from an item, or an empty string if the property value is missing or null.
Simple helper for ConstructFileName, to access item property values
public static GetPropertyValue ( System.Item item, string propertyName ) : string
item System.Item The item to determine the property value for
propertyName string The name of the property to retrieve
리턴 string

GetPublicationFromContext() 공개 정적인 메소드

public static GetPublicationFromContext ( Package package, Engine engine ) : Publication
package Package
engine Engine
리턴 Publication

StripTcdlTags() 공개 정적인 메소드

public static StripTcdlTags ( string input ) : string
input string
리턴 string