C# Class mojoPortal.Web.BlogUI.BlogViewControl

Inheritance: System.Web.UI.UserControl, IRefreshAfterPostback, IUpdateCommentStats
ファイルを表示 Open project: joeaudette/mojoportal

Protected Properties

Property 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

Public Methods

Method Description
RefreshAfterPostback ( ) : void
UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void

Protected Methods

Method 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

Method 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 method

protected FormatBlogUrl ( string itemUrl, int itemId ) : string
itemUrl string
itemId int
return string

FormatCommentDate() protected method

protected FormatCommentDate ( System.DateTime startDate ) : string
startDate System.DateTime
return string

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

PopulateControls() protected method

protected PopulateControls ( ) : void
return void

RefreshAfterPostback() public method

public RefreshAfterPostback ( ) : void
return void

SetupRssLink() protected method

protected SetupRssLink ( ) : void
return void

UpdateCommentStats() public method

public UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void
contentGuid System.Guid
commentCount int
return void

UseProfileLinkForAvatar() protected method

protected UseProfileLinkForAvatar ( ) : bool
return bool

dlComments_ItemCommand() protected method

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

dlComments_ItemDataBound() protected method

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

Property Details

AllowComments protected_oe property

protected bool AllowComments
return bool

CategoriesResourceKey protected_oe property

protected string CategoriesResourceKey
return string

CommentDateTimeFormat protected_oe property

protected string CommentDateTimeFormat
return string

CommentItemHeaderElement protected_oe property

protected string CommentItemHeaderElement
return string

DeleteLinkImage protected_oe property

protected string DeleteLinkImage
return string

EditContentImage protected_oe property

protected string EditContentImage
return string

GmapApiKey protected_oe property

protected string GmapApiKey
return string

ImageSiteRoot protected_oe property

protected string ImageSiteRoot
return string

IsEditable protected_oe property

protected bool IsEditable
return bool

ItemId protected_oe property

protected int ItemId
return int

MaxAllowedGravatarRating protected_oe property

protected mojoPortal.Web.UI.Avatar.RatingType MaxAllowedGravatarRating
return mojoPortal.Web.UI.Avatar.RatingType

ModuleId protected_oe property

protected int ModuleId
return int

PageId protected_oe property

protected int PageId
return int

RegexRelativeImageUrlPatern protected_oe property

protected string RegexRelativeImageUrlPatern
return string

SiteRoot protected_oe property

protected string SiteRoot
return string

TimeOffset protected_oe property

protected Double TimeOffset
return Double

UserNameTooltipFormat protected_oe property

protected string UserNameTooltipFormat
return string

addThisCustomBrand protected_oe property

protected string addThisCustomBrand
return string

allowGravatars protected_oe property

protected bool allowGravatars
return bool

attachmentBaseUrl protected_oe property

protected string attachmentBaseUrl
return string

blog protected_oe property

protected Blog,mojoPortal.Business blog
return mojoPortal.Business.Blog

blogAuthor protected_oe property

protected string blogAuthor
return string

config protected_oe property

protected BlogConfiguration,mojoPortal.Web.BlogUI config
return mojoPortal.Web.BlogUI.BlogConfiguration

disableAvatars protected_oe property

protected bool disableAvatars
return bool

parametersAreInvalid protected_oe property

protected bool parametersAreInvalid
return bool