C# Class Carrotware.CMS.Core.SiteData

Afficher le fichier Open project: ninianne98/CarrotCakeCMS-MVC Class Usage Examples

Private Properties

Свойство Type Description
FormatToHTML string
ParsePlaceholder string>.KeyValuePair

Méthodes publiques

Méthode Description
CheckForSpecialURL ( SiteData site ) : string
FormatErrorOutput ( Exception objErr ) : string
GetCurrentLivePage ( ) : ContentPage
GetCurrentPage ( ) : ContentPage
GetCurrentPageLiveWidgets ( System.Guid guidContentID ) : List
GetCurrentPageWidgets ( System.Guid guidContentID ) : List
GetPage ( System.Guid guidContentID ) : ContentPage
GetPage ( string sCurrentPage ) : ContentPage
GetSiteByID ( System.Guid siteID ) : SiteData
GetSiteFromCache ( System.Guid siteID ) : SiteData
GetSiteList ( ) : List
IsFilenameCurrentPage ( string sCurrentFile ) : bool
IsLikelyHomePage ( string filePath ) : bool
IsPageSpecial ( string sPageName ) : bool
ManuallyWriteDefaultFile ( HttpContext context, Exception objErr ) : void
Perform404Redirect ( string sReqURL ) : void
PerformRedirectToErrorPage ( int ErrorKey, string sReqURL ) : void
PerformRedirectToErrorPage ( string sErrorKey, string sReqURL ) : void
RemoveSiteFromCache ( System.Guid siteID ) : void
Show301Message ( string sFileRequested ) : void
Show404MessageFull ( bool bResponseEnd ) : void
Show404MessageShort ( ) : void
WriteDebugException ( string sSrc, Exception objErr ) : void

Private Methods

Méthode Description
FormatToHTML ( string inputString ) : string
ParsePlaceholder ( string titleString, string placeHolder, int posNum ) : string>.KeyValuePair

Method Details

CheckForSpecialURL() public static méthode

public static CheckForSpecialURL ( SiteData site ) : string
site SiteData
Résultat string

FormatErrorOutput() public static méthode

public static FormatErrorOutput ( Exception objErr ) : string
objErr System.Exception
Résultat string

GetCurrentLivePage() public static méthode

public static GetCurrentLivePage ( ) : ContentPage
Résultat ContentPage

GetCurrentPage() public static méthode

public static GetCurrentPage ( ) : ContentPage
Résultat ContentPage

GetCurrentPageLiveWidgets() public static méthode

public static GetCurrentPageLiveWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
Résultat List

GetCurrentPageWidgets() public static méthode

public static GetCurrentPageWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
Résultat List

GetPage() public static méthode

public static GetPage ( System.Guid guidContentID ) : ContentPage
guidContentID System.Guid
Résultat ContentPage

GetPage() public static méthode

public static GetPage ( string sCurrentPage ) : ContentPage
sCurrentPage string
Résultat ContentPage

GetSiteByID() public static méthode

public static GetSiteByID ( System.Guid siteID ) : SiteData
siteID System.Guid
Résultat SiteData

GetSiteFromCache() public static méthode

public static GetSiteFromCache ( System.Guid siteID ) : SiteData
siteID System.Guid
Résultat SiteData

GetSiteList() public static méthode

public static GetSiteList ( ) : List
Résultat List

IsFilenameCurrentPage() public static méthode

public static IsFilenameCurrentPage ( string sCurrentFile ) : bool
sCurrentFile string
Résultat bool

IsLikelyHomePage() public static méthode

public static IsLikelyHomePage ( string filePath ) : bool
filePath string
Résultat bool

IsPageSpecial() public static méthode

public static IsPageSpecial ( string sPageName ) : bool
sPageName string
Résultat bool

ManuallyWriteDefaultFile() public static méthode

public static ManuallyWriteDefaultFile ( HttpContext context, Exception objErr ) : void
context System.Web.HttpContext
objErr System.Exception
Résultat void

Perform404Redirect() public static méthode

public static Perform404Redirect ( string sReqURL ) : void
sReqURL string
Résultat void

PerformRedirectToErrorPage() public static méthode

public static PerformRedirectToErrorPage ( int ErrorKey, string sReqURL ) : void
ErrorKey int
sReqURL string
Résultat void

PerformRedirectToErrorPage() public static méthode

public static PerformRedirectToErrorPage ( string sErrorKey, string sReqURL ) : void
sErrorKey string
sReqURL string
Résultat void

RemoveSiteFromCache() public static méthode

public static RemoveSiteFromCache ( System.Guid siteID ) : void
siteID System.Guid
Résultat void

Show301Message() public static méthode

public static Show301Message ( string sFileRequested ) : void
sFileRequested string
Résultat void

Show404MessageFull() public static méthode

public static Show404MessageFull ( bool bResponseEnd ) : void
bResponseEnd bool
Résultat void

Show404MessageShort() public static méthode

public static Show404MessageShort ( ) : void
Résultat void

WriteDebugException() public static méthode

public static WriteDebugException ( string sSrc, Exception objErr ) : void
sSrc string
objErr System.Exception
Résultat void