C# Class Engage.Dnn.Publish.Controls.CustomDisplay

Inheritance: ModuleBase, IActionable
ファイルを表示 Open project: EngageSoftware/Engage-Publish

Protected Properties

Property Type Description
EditText string
Visibility bool
divParentCategoryDescription global::System.Web.UI.HtmlControls.HtmlGenericControl
divParentCategoryName global::System.Web.UI.HtmlControls.HtmlGenericControl
imgRss global::System.Web.UI.HtmlControls.HtmlImage
lblCategory global::System.Web.UI.WebControls.Literal
lblCategoryDescription global::System.Web.UI.WebControls.Label
lblMessage global::System.Web.UI.WebControls.Label
lnkNext global::System.Web.UI.WebControls.HyperLink
lnkPrevious global::System.Web.UI.WebControls.HyperLink
lnkRss global::System.Web.UI.WebControls.HyperLink
lstItems global::System.Web.UI.WebControls.Repeater
pnlPaging global::System.Web.UI.WebControls.Panel

Protected Methods

Method Description
BuildEditUrl ( int itemId, int tabId, int moduleId, int portalId ) : string
DisplayItemCommentCount ( object commentCount ) : string

Format Text currently just looks for the token

DisplayItemViewCount ( object viewCount ) : string

Format Text currently just looks for the token

FormatDate ( object date ) : string
FormatText ( object text ) : string

Format Text currently just looks for the token

GetAuthor ( object author, object authorUserId, int portalId ) : string
GetItemTypeCssClass ( object dataItem ) : string
OnInit ( EventArgs e ) : void

Private Methods

Method Description
BuildPageList ( int totalItems ) : void
GetData ( ) : DataTable
GetDataTable ( ) : DataTable
Page_Load ( object sender, EventArgs e ) : void
RecordView ( ) : void

Record a Viewing.

SetPagingLink ( NameValueCollection queryString, HyperLink link, bool showLink, int linkedPageId, int tabId ) : void
SortOrder ( ) : string
SortTable ( DataTable dt ) : DataTable
lstItems_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Method Details

BuildEditUrl() protected static method

protected static BuildEditUrl ( int itemId, int tabId, int moduleId, int portalId ) : string
itemId int
tabId int
moduleId int
portalId int
return string

DisplayItemCommentCount() protected method

Format Text currently just looks for the token
protected DisplayItemCommentCount ( object commentCount ) : string
commentCount object
return string

DisplayItemViewCount() protected method

Format Text currently just looks for the token
protected DisplayItemViewCount ( object viewCount ) : string
viewCount object
return string

FormatDate() protected method

protected FormatDate ( object date ) : string
date object
return string

FormatText() protected static method

Format Text currently just looks for the token
protected static FormatText ( object text ) : string
text object
return string

GetAuthor() protected static method

protected static GetAuthor ( object author, object authorUserId, int portalId ) : string
author object
authorUserId object
portalId int
return string

GetItemTypeCssClass() protected method

protected GetItemTypeCssClass ( object dataItem ) : string
dataItem object
return string

OnInit() protected method

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

Property Details

EditText protected_oe property

protected string EditText
return string

Visibility protected_oe property

protected bool Visibility
return bool

divParentCategoryDescription protected_oe property

divParentCategoryDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divParentCategoryDescription
return global::System.Web.UI.HtmlControls.HtmlGenericControl

divParentCategoryName protected_oe property

divParentCategoryName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divParentCategoryName
return global::System.Web.UI.HtmlControls.HtmlGenericControl

imgRss protected_oe property

imgRss control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlImage imgRss
return global::System.Web.UI.HtmlControls.HtmlImage

lblCategory protected_oe property

lblCategory control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblCategory
return global::System.Web.UI.WebControls.Literal

lblCategoryDescription protected_oe property

lblCategoryDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblCategoryDescription
return global::System.Web.UI.WebControls.Label

lblMessage protected_oe property

lblMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblMessage
return global::System.Web.UI.WebControls.Label

lnkNext protected_oe property

lnkNext control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkNext
return global::System.Web.UI.WebControls.HyperLink

lnkPrevious protected_oe property

lnkPrevious control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkPrevious
return global::System.Web.UI.WebControls.HyperLink

lnkRss protected_oe property

lnkRss control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink lnkRss
return global::System.Web.UI.WebControls.HyperLink

lstItems protected_oe property

lstItems control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater lstItems
return global::System.Web.UI.WebControls.Repeater

pnlPaging protected_oe property

pnlPaging control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel pnlPaging
return global::System.Web.UI.WebControls.Panel