C# Class Phun.Data.AContentRepository

Provide common use methods for content repository
Afficher le fichier Open project: noogen/phuncms

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

GetFolder() public méthode

Gets the folder.
public GetFolder ( ContentModel folder ) : string
folder ContentModel The folder.
Résultat string

GetFolderTo() protected méthode

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

List() public abstract méthode

Lists the specified content.Path
public abstract List ( ContentModel content ) : System.Linq.IQueryable
content ContentModel The content.
Résultat System.Linq.IQueryable

NormalizedPath() protected méthode

Normalized the path.
Illegal path detected: + path;path
protected NormalizedPath ( string path ) : string
path string The path.
Résultat string

ResolveLocalPath() protected méthode

Resolves the local path.
protected ResolveLocalPath ( string path ) : string
path string The path.
Résultat string

Retrieve() public abstract méthode

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].
Résultat ContentModel