C# Class Phun.CmsController

Default controller.
Inheritance: Controller
Afficher le fichier Open project: noogen/phuncms

Méthodes publiques

Méthode Description
List ( string path ) : System.Web.Mvc.ActionResult

Lists the specified path.

Méthodes protégées

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

Méthode 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 méthode

Initializes a new instance of the CmsController class.
protected CmsController ( ) : System
Résultat System

CmsController() protected méthode

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

List() public méthode

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

TrySet304() protected méthode

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

Upload() protected méthode

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