PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TDataGridPagerStyle

TDataGridPagerStyle class.

TDataGridPagerStyle specifies the styles available for a datagrid pager.

TComponent
Extended by TStyle
Extended by TPanelStyle
Extended by TDataGridPagerStyle
Package: System\Web\UI\WebControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/UI/WebControls/TDataGridPagerStyle.php
Methods summary
public TDataGridPagerMode
# getMode( )

Returns

TDataGridPagerMode
pager mode. Defaults to TDataGridPagerMode::NextPrev.
public
# setMode( TDataGridPagerMode $value )

Parameters

$value
TDataGridPagerMode
pager mode.
public TDataGridPagerButtonType
# getButtonType( )

Returns

TDataGridPagerButtonType
the type of command button. Defaults to TDataGridPagerButtonType::LinkButton.
public
# setButtonType( TDataGridPagerButtonType $value )

Parameters

$value
TDataGridPagerButtonType
the type of command button
public string
# getNextPageText( )

Returns

string
text for the next page button. Defaults to '>'.
public
# setNextPageText( string $value )

Parameters

$value
string
text for the next page button.
public string
# getPrevPageText( )

Returns

string
text for the previous page button. Defaults to '<'.
public
# setPrevPageText( string $value )

Parameters

$value
string
text for the previous page button.
public string
# getFirstPageText( )

Returns

string
text for the first page button. Defaults to '<<'.
public
# setFirstPageText( string $value )

Parameters

$value
string
text for the first page button.
public string
# getLastPageText( )

Returns

string
text for the last page button. Defaults to '>>'.
public
# setLastPageText( string $value )

Parameters

$value
string
text for the last page button.
public integer
# getPageButtonCount( )

Returns

integer
maximum number of pager buttons to be displayed. Defaults to 10.
public
# setPageButtonCount( integer $value )

Parameters

$value
integer
maximum number of pager buttons to be displayed

Throws

TInvalidDataValueException
if the value is less than 1.
public TDataGridPagerPosition
# getPosition( )

Returns

TDataGridPagerPosition
where the pager is to be displayed. Defaults to TDataGridPagerPosition::Bottom.
public
# setPosition( TDataGridPagerPosition $value )

Parameters

$value
TDataGridPagerPosition
where the pager is to be displayed.
public boolean
# getVisible( )

Returns

boolean
whether the pager is visible. Defaults to true.
public
# setVisible( boolean $value )

Parameters

$value
boolean
whether the pager is visible.
public
# reset( )

Resets the style to the original empty state.

Resets the style to the original empty state.

Overrides

TPanelStyle::reset()
public
# copyFrom( TStyle $style )

Copies the fields in a new style to this style. If a style field is set in the new style, the corresponding field in this style will be overwritten.

Copies the fields in a new style to this style. If a style field is set in the new style, the corresponding field in this style will be overwritten.

Parameters

$style
TStyle
the new style

Overrides

TPanelStyle::copyFrom()
public
# mergeWith( TStyle $style )

Merges the style with a new one. If a style field is not set in this style, it will be overwritten by the new one.

Merges the style with a new one. If a style field is not set in this style, it will be overwritten by the new one.

Parameters

$style
TStyle
the new style

Overrides

TPanelStyle::mergeWith()
Methods inherited from TPanelStyle
addAttributesToRender(), getBackImageUrl(), getDirection(), getHorizontalAlign(), getScrollBars(), getWrap(), setBackImageUrl(), setDirection(), setHorizontalAlign(), setScrollBars(), setWrap()
Methods inherited from TStyle
__clone(), __construct(), clearStyleField(), getBackColor(), getBorderColor(), getBorderStyle(), getBorderWidth(), getCssClass(), getCustomStyle(), getDisplayStyle(), getFont(), getForeColor(), getHeight(), getStyleField(), getStyleFields(), getWidth(), hasCssClass(), hasFont(), hasStyleField(), setBackColor(), setBorderColor(), setBorderStyle(), setBorderWidth(), setCssClass(), setCustomStyle(), setDisplayStyle(), setForeColor(), setHeight(), setStyleField(), setWidth()
Methods inherited from TComponent
__call(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO