C# Class Phun.CmsController

Default controller.
Inheritance: Controller
Mostrar archivo Open project: noogen/phuncms

Public Methods

Method Description
List ( string path ) : System.Web.Mvc.ActionResult

Lists the specified path.

Protected Methods

Method Description
CmsController ( ) : System

Initializes a new instance of the CmsController class.

CmsController ( IContentConnector connector ) : System

Initializes a new instance of the CmsController class.

TrySet304 ( ContentModel content, double hours = 24 ) : bool

Tries the set304.

Upload ( System.Web.HttpPostedFileBase file, string path ) : string

Uploads the specified upload.

Private Methods

Method Description
Create ( string path, string data, string returnUrl ) : System.Web.Mvc.ActionResult
CreatePage ( string path, string data ) : System.Web.Mvc.ActionResult
Delete ( string path ) : System.Web.Mvc.ActionResult
Edit ( string path ) : System.Web.Mvc.ActionResult
FileBrowser ( ) : System.Web.Mvc.ActionResult
FileManager ( string mode ) : System.Web.Mvc.ActionResult
FileManagerUpload ( System.Web.HttpPostedFileBase files, string path ) : System.Web.Mvc.ActionResult
IsContentAdmin ( ) : System.Web.Mvc.ActionResult
Page ( ) : System.Web.Mvc.ActionResult
PageManager ( ) : System.Web.Mvc.ActionResult
Retrieve ( string path ) : System.Web.Mvc.ActionResult
RetrieveSecure ( string path ) : System.Web.Mvc.ActionResult
Update ( string path, string data, string returnUrl ) : System.Web.Mvc.ActionResult

Method Details

CmsController() protected method

Initializes a new instance of the CmsController class.
protected CmsController ( ) : System
return System

CmsController() protected method

Initializes a new instance of the CmsController class.
protected CmsController ( IContentConnector connector ) : System
connector IContentConnector The connector.
return System

List() public method

Lists the specified path.
public List ( string path ) : System.Web.Mvc.ActionResult
path string The path.
return System.Web.Mvc.ActionResult

TrySet304() protected method

Tries the set304.
protected TrySet304 ( ContentModel content, double hours = 24 ) : bool
content Phun.Data.ContentModel The content.
hours double
return bool

Upload() protected method

Uploads the specified upload.
protected Upload ( System.Web.HttpPostedFileBase file, string path ) : string
file System.Web.HttpPostedFileBase The upload.
path string The path.
return string