C# Class Nop.Web.Framework.UI.Paging.Pager

Renders a pager component from an IPageableModel datasource.
Inheritance: IHtmlString
Show file Open project: emilianionascu/NopCommerce

Protected Properties

Property Type Description
booleanParameterNames IList
individualPagesDisplayedCount int
model IPageableModel
pageQueryName string
showFirst bool
showIndividualPages bool
showLast bool
showNext bool
showPagerItems bool
showPrevious bool
showTotalSummary bool
urlBuilder string>.Func
viewContext System.Web.Mvc.ViewContext

Public Methods

Method Description
BooleanParameterName ( string paramName ) : Pager
IndividualPagesDisplayedCount ( int value ) : Pager
Link ( string>.Func value ) : Pager
Pager ( IPageableModel model, System.Web.Mvc.ViewContext context ) : System
QueryParam ( string value ) : Pager
ShowFirst ( bool value ) : Pager
ShowIndividualPages ( bool value ) : Pager
ShowLast ( bool value ) : Pager
ShowNext ( bool value ) : Pager
ShowPagerItems ( bool value ) : Pager
ShowPrevious ( bool value ) : Pager
ShowTotalSummary ( bool value ) : Pager
ToHtmlString ( ) : string
ToString ( ) : string

Protected Methods

Method Description
CreateDefaultUrl ( int pageNumber ) : string
CreatePageLink ( int pageNumber, string text, string cssClass ) : string
GetFirstIndividualPageIndex ( ) : int
GetLastIndividualPageIndex ( ) : int

Method Details

BooleanParameterName() public method

public BooleanParameterName ( string paramName ) : Pager
paramName string
return Pager

CreateDefaultUrl() protected method

protected CreateDefaultUrl ( int pageNumber ) : string
pageNumber int
return string

CreatePageLink() protected method

protected CreatePageLink ( int pageNumber, string text, string cssClass ) : string
pageNumber int
text string
cssClass string
return string

GetFirstIndividualPageIndex() protected method

protected GetFirstIndividualPageIndex ( ) : int
return int

GetLastIndividualPageIndex() protected method

protected GetLastIndividualPageIndex ( ) : int
return int

IndividualPagesDisplayedCount() public method

public IndividualPagesDisplayedCount ( int value ) : Pager
value int
return Pager

Link() public method

public Link ( string>.Func value ) : Pager
value string>.Func
return Pager

Pager() public method

public Pager ( IPageableModel model, System.Web.Mvc.ViewContext context ) : System
model IPageableModel
context System.Web.Mvc.ViewContext
return System

QueryParam() public method

public QueryParam ( string value ) : Pager
value string
return Pager

ShowFirst() public method

public ShowFirst ( bool value ) : Pager
value bool
return Pager

ShowIndividualPages() public method

public ShowIndividualPages ( bool value ) : Pager
value bool
return Pager

ShowLast() public method

public ShowLast ( bool value ) : Pager
value bool
return Pager

ShowNext() public method

public ShowNext ( bool value ) : Pager
value bool
return Pager

ShowPagerItems() public method

public ShowPagerItems ( bool value ) : Pager
value bool
return Pager

ShowPrevious() public method

public ShowPrevious ( bool value ) : Pager
value bool
return Pager

ShowTotalSummary() public method

public ShowTotalSummary ( bool value ) : Pager
value bool
return Pager

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Property Details

booleanParameterNames protected property

protected IList booleanParameterNames
return IList

individualPagesDisplayedCount protected property

protected int individualPagesDisplayedCount
return int

model protected property

protected IPageableModel model
return IPageableModel

pageQueryName protected property

protected string pageQueryName
return string

showFirst protected property

protected bool showFirst
return bool

showIndividualPages protected property

protected bool showIndividualPages
return bool

showLast protected property

protected bool showLast
return bool

showNext protected property

protected bool showNext
return bool

showPagerItems protected property

protected bool showPagerItems
return bool

showPrevious protected property

protected bool showPrevious
return bool

showTotalSummary protected property

protected bool showTotalSummary
return bool

urlBuilder protected property

protected Func urlBuilder
return string>.Func

viewContext protected property

protected ViewContext,System.Web.Mvc viewContext
return System.Web.Mvc.ViewContext