C# Class Carrotware.CMS.Core.SiteData

Mostrar archivo Open project: ninianne98/CarrotCakeCMS-MVC Class Usage Examples

Private Properties

Property Type Description
FormatToHTML string
ParsePlaceholder string>.KeyValuePair

Public Methods

Method 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

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

Method Details

CheckForSpecialURL() public static method

public static CheckForSpecialURL ( SiteData site ) : string
site SiteData
return string

FormatErrorOutput() public static method

public static FormatErrorOutput ( Exception objErr ) : string
objErr System.Exception
return string

GetCurrentLivePage() public static method

public static GetCurrentLivePage ( ) : ContentPage
return ContentPage

GetCurrentPage() public static method

public static GetCurrentPage ( ) : ContentPage
return ContentPage

GetCurrentPageLiveWidgets() public static method

public static GetCurrentPageLiveWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
return List

GetCurrentPageWidgets() public static method

public static GetCurrentPageWidgets ( System.Guid guidContentID ) : List
guidContentID System.Guid
return List

GetPage() public static method

public static GetPage ( System.Guid guidContentID ) : ContentPage
guidContentID System.Guid
return ContentPage

GetPage() public static method

public static GetPage ( string sCurrentPage ) : ContentPage
sCurrentPage string
return ContentPage

GetSiteByID() public static method

public static GetSiteByID ( System.Guid siteID ) : SiteData
siteID System.Guid
return SiteData

GetSiteFromCache() public static method

public static GetSiteFromCache ( System.Guid siteID ) : SiteData
siteID System.Guid
return SiteData

GetSiteList() public static method

public static GetSiteList ( ) : List
return List

IsFilenameCurrentPage() public static method

public static IsFilenameCurrentPage ( string sCurrentFile ) : bool
sCurrentFile string
return bool

IsLikelyHomePage() public static method

public static IsLikelyHomePage ( string filePath ) : bool
filePath string
return bool

IsPageSpecial() public static method

public static IsPageSpecial ( string sPageName ) : bool
sPageName string
return bool

ManuallyWriteDefaultFile() public static method

public static ManuallyWriteDefaultFile ( HttpContext context, Exception objErr ) : void
context System.Web.HttpContext
objErr System.Exception
return void

Perform404Redirect() public static method

public static Perform404Redirect ( string sReqURL ) : void
sReqURL string
return void

PerformRedirectToErrorPage() public static method

public static PerformRedirectToErrorPage ( int ErrorKey, string sReqURL ) : void
ErrorKey int
sReqURL string
return void

PerformRedirectToErrorPage() public static method

public static PerformRedirectToErrorPage ( string sErrorKey, string sReqURL ) : void
sErrorKey string
sReqURL string
return void

RemoveSiteFromCache() public static method

public static RemoveSiteFromCache ( System.Guid siteID ) : void
siteID System.Guid
return void

Show301Message() public static method

public static Show301Message ( string sFileRequested ) : void
sFileRequested string
return void

Show404MessageFull() public static method

public static Show404MessageFull ( bool bResponseEnd ) : void
bResponseEnd bool
return void

Show404MessageShort() public static method

public static Show404MessageShort ( ) : void
return void

WriteDebugException() public static method

public static WriteDebugException ( string sSrc, Exception objErr ) : void
sSrc string
objErr System.Exception
return void