C# 클래스 formulate.app.Helpers.EntityHelper

Helps with entities.
파일 보기 프로젝트 열기: rhythmagency/formulate

공개 메소드들

메소드 설명
GetClientPath ( System.Guid path ) : string[]

Converts a server-side entity path to a client-side entity path.

The client-side entity path expects an extra root ID of "-1", which this method includes.

GetGroupIconByRoot ( System.Guid id ) : string

Gets the group tree icon for the entities under the root with the specified ID.

GetIconForRoot ( System.Guid id ) : string

Gets the tree icon for the root entity with the specified ID.

GetNameForRoot ( System.Guid id ) : string

Gets the name for the root entity with the specified ID.

GetString ( EntityKind kind ) : string

Converts an entity kind to a string.

IsRoot ( System.Guid id ) : bool

Indicates whether or not the entity with the specified ID is a root entity.

비공개 메소드들

메소드 설명
EntityHelper ( ) : Umbraco.Core.Constants.System

Static constructor.

메소드 상세

GetClientPath() 공개 정적인 메소드

Converts a server-side entity path to a client-side entity path.
The client-side entity path expects an extra root ID of "-1", which this method includes.
public static GetClientPath ( System.Guid path ) : string[]
path System.Guid /// The server-side entity path. ///
리턴 string[]

GetGroupIconByRoot() 공개 정적인 메소드

Gets the group tree icon for the entities under the root with the specified ID.
public static GetGroupIconByRoot ( System.Guid id ) : string
id System.Guid /// The root entity ID. ///
리턴 string

GetIconForRoot() 공개 정적인 메소드

Gets the tree icon for the root entity with the specified ID.
public static GetIconForRoot ( System.Guid id ) : string
id System.Guid /// The root entity ID. ///
리턴 string

GetNameForRoot() 공개 정적인 메소드

Gets the name for the root entity with the specified ID.
public static GetNameForRoot ( System.Guid id ) : string
id System.Guid /// The root entity ID. ///
리턴 string

GetString() 공개 정적인 메소드

Converts an entity kind to a string.
public static GetString ( EntityKind kind ) : string
kind EntityKind The entity kind.
리턴 string

IsRoot() 공개 정적인 메소드

Indicates whether or not the entity with the specified ID is a root entity.
public static IsRoot ( System.Guid id ) : bool
id System.Guid The entity ID.
리턴 bool