C# Class Phun.Extensions.HtmlHelpers

CMS Html Helpers.
ファイルを表示 Open project: noogen/phuncms

Public Methods

Method Description
PhunPartial ( this html, string contentName ) : string

Renders the content of the CMS.

PhunPartialEditable ( this html, string tagName, string contentName, object htmlAttributes ) : System.Web.HtmlString

Render partial for inline edit.

PhunResourceUrl ( this html, string path ) : System.Web.HtmlString

return the html resource url.

Private Methods

Method Description
PhunBundles ( this html, bool includeJquery = true, bool includeJqueryui = true, bool includeBackbone = true, bool includeCkEditor = true, bool includeEditorInit = true ) : System.Web.HtmlString

Method Details

PhunPartial() public static method

Renders the content of the CMS.
public static PhunPartial ( this html, string contentName ) : string
html this The HTML helper.
contentName string Name of the content.
return string

PhunPartialEditable() public static method

Render partial for inline edit.
public static PhunPartialEditable ( this html, string tagName, string contentName, object htmlAttributes ) : System.Web.HtmlString
html this The HTML.
tagName string Name of the tag.
contentName string Name of the content.
htmlAttributes object The HTML attributes.
return System.Web.HtmlString

PhunResourceUrl() public static method

return the html resource url.
public static PhunResourceUrl ( this html, string path ) : System.Web.HtmlString
html this The HTML.
path string The path.
return System.Web.HtmlString