C# Class Phun.Routing.ResourcePathUtility

CMS resource path utility.
Afficher le fichier Open project: noogen/phuncms Class Usage Examples

Méthodes publiques

Méthode Description
GetTenantHost ( Uri url ) : string

Gets the current host.

Normalize ( string path ) : string

Applies the path convention.

PhunPartialEditable ( Uri url, string tagName, string contentName, object htmlAttributes ) : string

Phuns the partial editable.

ResourcePathUtility ( ) : System

Initializes a new instance of the ResourcePathUtility class.

Méthodes protégées

Méthode Description
GetResourcePath ( string resource ) : string

Gets the resource path.

PhunPartial ( string contentName, Uri url ) : string

Phuns the partial.

Private Methods

Méthode Description
PhunCmsRenderBundles ( bool includeJquery = true, bool includeJqueryui = true, bool includeBackbone = true, bool includeCkEditor = true, bool includeEditorInit = true ) : string

Method Details

GetResourcePath() protected méthode

Gets the resource path.
protected GetResourcePath ( string resource ) : string
resource string The resource.
Résultat string

GetTenantHost() public méthode

Gets the current host.
public GetTenantHost ( Uri url ) : string
url System.Uri The URL.
Résultat string

Normalize() public méthode

Applies the path convention.
public Normalize ( string path ) : string
path string The path.
Résultat string

PhunPartial() protected méthode

Phuns the partial.
contentName is required.
protected PhunPartial ( string contentName, Uri url ) : string
contentName string Name of the content.
url System.Uri The URL.
Résultat string

PhunPartialEditable() public méthode

Phuns the partial editable.
public PhunPartialEditable ( Uri url, string tagName, string contentName, object htmlAttributes ) : string
url System.Uri The URL.
tagName string Name of the tag.
contentName string Name of the content.
htmlAttributes object The HTML attributes.
Résultat string

ResourcePathUtility() public méthode

Initializes a new instance of the ResourcePathUtility class.
public ResourcePathUtility ( ) : System
Résultat System