C# Class mojoPortal.Web.BlogUI.BlogViewControl

Inheritance: System.Web.UI.UserControl, IRefreshAfterPostback, IUpdateCommentStats
Afficher le fichier Open project: joeaudette/mojoportal

Protected Properties

Свойство Type Description
AllowComments bool
CategoriesResourceKey string
CommentDateTimeFormat string
CommentItemHeaderElement string
DeleteLinkImage string
EditContentImage string
GmapApiKey string
ImageSiteRoot string
IsEditable bool
ItemId int
MaxAllowedGravatarRating mojoPortal.Web.UI.Avatar.RatingType
ModuleId int
PageId int
RegexRelativeImageUrlPatern string
SiteRoot string
TimeOffset Double
UserNameTooltipFormat string
addThisCustomBrand string
allowGravatars bool
attachmentBaseUrl string
blog mojoPortal.Business.Blog
blogAuthor string
config mojoPortal.Web.BlogUI.BlogConfiguration
disableAvatars bool
parametersAreInvalid bool

Méthodes publiques

Méthode Description
RefreshAfterPostback ( ) : void
UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void

Méthodes protégées

Méthode Description
FormatBlogUrl ( string itemUrl, int itemId ) : string
FormatCommentDate ( System.DateTime startDate ) : string
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
PopulateControls ( ) : void
SetupRssLink ( ) : void
UseProfileLinkForAvatar ( ) : bool
dlComments_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the item command

dlComments_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Private Methods

Méthode Description
CanEditPost ( mojoPortal.Business.Blog blog ) : bool
CommentsAreOpen ( ) : bool
DetermineCommentSystem ( ) : string
DisableLegacyBlogComments ( ) : void
GetExcerpt ( mojoPortal.Business.Blog blog ) : string
GetRssUrl ( ) : string
IsValidComment ( ) : bool
LoadParams ( ) : void
LoadSettings ( ) : void
Page_Load ( object sender, EventArgs e ) : void
PopulateLabels ( ) : void
SetCookies ( ) : void
SetupCommentSystem ( ) : void
SetupInternalCommentSystem ( ) : void
SetupLegacyBlogComments ( ) : void
ShouldAllowComments ( ) : bool
btnPostComment_Click ( object sender, EventArgs e ) : void

Method Details

FormatBlogUrl() protected méthode

protected FormatBlogUrl ( string itemUrl, int itemId ) : string
itemUrl string
itemId int
Résultat string

FormatCommentDate() protected méthode

protected FormatCommentDate ( System.DateTime startDate ) : string
startDate System.DateTime
Résultat string

OnInit() protected méthode

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnPreRender() protected méthode

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Résultat void

PopulateControls() protected méthode

protected PopulateControls ( ) : void
Résultat void

RefreshAfterPostback() public méthode

public RefreshAfterPostback ( ) : void
Résultat void

SetupRssLink() protected méthode

protected SetupRssLink ( ) : void
Résultat void

UpdateCommentStats() public méthode

public UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void
contentGuid System.Guid
commentCount int
Résultat void

UseProfileLinkForAvatar() protected méthode

protected UseProfileLinkForAvatar ( ) : bool
Résultat bool

dlComments_ItemCommand() protected méthode

Handles the item command
protected dlComments_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object
e System.Web.UI.WebControls.RepeaterCommandEventArgs
Résultat void

dlComments_ItemDataBound() protected méthode

protected dlComments_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
Résultat void

Property Details

AllowComments protected_oe property

protected bool AllowComments
Résultat bool

CategoriesResourceKey protected_oe property

protected string CategoriesResourceKey
Résultat string

CommentDateTimeFormat protected_oe property

protected string CommentDateTimeFormat
Résultat string

CommentItemHeaderElement protected_oe property

protected string CommentItemHeaderElement
Résultat string

DeleteLinkImage protected_oe property

protected string DeleteLinkImage
Résultat string

EditContentImage protected_oe property

protected string EditContentImage
Résultat string

GmapApiKey protected_oe property

protected string GmapApiKey
Résultat string

ImageSiteRoot protected_oe property

protected string ImageSiteRoot
Résultat string

IsEditable protected_oe property

protected bool IsEditable
Résultat bool

ItemId protected_oe property

protected int ItemId
Résultat int

MaxAllowedGravatarRating protected_oe property

protected mojoPortal.Web.UI.Avatar.RatingType MaxAllowedGravatarRating
Résultat mojoPortal.Web.UI.Avatar.RatingType

ModuleId protected_oe property

protected int ModuleId
Résultat int

PageId protected_oe property

protected int PageId
Résultat int

RegexRelativeImageUrlPatern protected_oe property

protected string RegexRelativeImageUrlPatern
Résultat string

SiteRoot protected_oe property

protected string SiteRoot
Résultat string

TimeOffset protected_oe property

protected Double TimeOffset
Résultat Double

UserNameTooltipFormat protected_oe property

protected string UserNameTooltipFormat
Résultat string

addThisCustomBrand protected_oe property

protected string addThisCustomBrand
Résultat string

allowGravatars protected_oe property

protected bool allowGravatars
Résultat bool

attachmentBaseUrl protected_oe property

protected string attachmentBaseUrl
Résultat string

blog protected_oe property

protected Blog,mojoPortal.Business blog
Résultat mojoPortal.Business.Blog

blogAuthor protected_oe property

protected string blogAuthor
Résultat string

config protected_oe property

protected BlogConfiguration,mojoPortal.Web.BlogUI config
Résultat mojoPortal.Web.BlogUI.BlogConfiguration

disableAvatars protected_oe property

protected bool disableAvatars
Résultat bool

parametersAreInvalid protected_oe property

protected bool parametersAreInvalid
Résultat bool