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

Interface IItemDataRenderer

IItemDataRenderer interface.

IItemDataRenderer defines the interface that an item renderer needs to implement. Besides the getData Data property, a list item renderer also needs to provide getItemIndex ItemIndex and getItemType ItemType property.

IItemDataRenderer implements IDataRenderer

Direct known implementers

TDataListItem, TItemDataRenderer, TRepeaterItem

Indirect known implementers

TDataGridItemRenderer, TDataListItemRenderer, TRepeaterItemRenderer
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.1.0
Located at Web/UI/WebControls/TDataBoundControl.php
Methods summary
public integer
# getItemIndex( )

Returns a value indicating the zero-based index of the item in the corresponding data control's item collection. If the item is not in the collection (e.g. it is a header item), it returns -1.

Returns a value indicating the zero-based index of the item in the corresponding data control's item collection. If the item is not in the collection (e.g. it is a header item), it returns -1.

Returns

integer
zero-based index of the item.
public
# setItemIndex( integer $value )

Sets the zero-based index for the item. If the item is not in the item collection (e.g. it is a header item), -1 should be used.

Sets the zero-based index for the item. If the item is not in the item collection (e.g. it is a header item), -1 should be used.

Parameters

$value
integer
zero-based index of the item.
public TListItemType
# getItemType( )

Returns

TListItemType
the item type.
public
# setItemType( TListItemType $value )

Parameters

$value
TListItemType
the item type.
Methods inherited from IDataRenderer
getData(), setData()
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