C# 클래스 Phun.Data.AContentRepository

Provide common use methods for content repository
파일 보기 프로젝트 열기: noogen/phuncms

공개 메소드들

메소드 설명
GetFolder ( ContentModel folder ) : string

Gets the folder.

List ( ContentModel content ) : System.Linq.IQueryable

Lists the specified content.Path

Retrieve ( ContentModel content, bool includeData = true ) : ContentModel

Populate or gets the content provided specific host, path, and name property.

보호된 메소드들

메소드 설명
GetFolderTo ( string destPhysicalFolder, ContentModel sourceFolder ) : void

Gets the folder to.

NormalizedPath ( string path ) : string

Normalized the path.

ResolveLocalPath ( string path ) : string

Resolves the local path.

메소드 상세

GetFolder() 공개 메소드

Gets the folder.
public GetFolder ( ContentModel folder ) : string
folder ContentModel The folder.
리턴 string

GetFolderTo() 보호된 메소드

Gets the folder to.
protected GetFolderTo ( string destPhysicalFolder, ContentModel sourceFolder ) : void
destPhysicalFolder string The destination physical folder.
sourceFolder ContentModel The source folder.
리턴 void

List() 공개 추상적인 메소드

Lists the specified content.Path
public abstract List ( ContentModel content ) : System.Linq.IQueryable
content ContentModel The content.
리턴 System.Linq.IQueryable

NormalizedPath() 보호된 메소드

Normalized the path.
Illegal path detected: + path;path
protected NormalizedPath ( string path ) : string
path string The path.
리턴 string

ResolveLocalPath() 보호된 메소드

Resolves the local path.
protected ResolveLocalPath ( string path ) : string
path string The path.
리턴 string

Retrieve() 공개 추상적인 메소드

Populate or gets the content provided specific host, path, and name property.
public abstract Retrieve ( ContentModel content, bool includeData = true ) : ContentModel
content ContentModel The content - requires host, path, and name property.
includeData bool if set to true [include data].
리턴 ContentModel