C# Класс Phun.CmsController

Default controller.
Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
List ( string path ) : System.Web.Mvc.ActionResult

Lists the specified path.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

CmsController() защищенный Метод

Initializes a new instance of the CmsController class.
protected CmsController ( ) : System
Результат System

CmsController() защищенный Метод

Initializes a new instance of the CmsController class.
protected CmsController ( IContentConnector connector ) : System
connector IContentConnector The connector.
Результат System

List() публичный Метод

Lists the specified path.
public List ( string path ) : System.Web.Mvc.ActionResult
path string The path.
Результат System.Web.Mvc.ActionResult

TrySet304() защищенный Метод

Tries the set304.
protected TrySet304 ( ContentModel content, double hours = 24 ) : bool
content Phun.Data.ContentModel The content.
hours double
Результат bool

Upload() защищенный Метод

Uploads the specified upload.
protected Upload ( System.Web.HttpPostedFileBase file, string path ) : string
file System.Web.HttpPostedFileBase The upload.
path string The path.
Результат string