[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> TBaseDataList.php (sommaire)

TBaseDataList class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TBaseDataList.php 1397 2006-09-07 07:55:53Z wei $
Poids: 191 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 14 fonctions

  createStyle()
  getCellSpacing()
  setCellSpacing()
  getCellPadding()
  setCellPadding()
  getHorizontalAlign()
  setHorizontalAlign()
  getGridLines()
  setGridLines()
  getDataKeyField()
  setDataKeyField()
  getDataKeys()
  getDataFieldValue()
  onSelectedIndexChanged()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

createStyle()   X-Ref
Creates a style object for the control.
This method creates a {@link TTableStyle} to be used by the data list control.

return: TTableStyle control style to be used

getCellSpacing()   X-Ref

return: integer the cellspacing for the table layout. Defaults to -1, meaning not set.

setCellSpacing($value)   X-Ref

param: integer the cellspacing for the table layout.

getCellPadding()   X-Ref

return: integer the cellpadding for the table layout. Defaults to -1, meaning not set.

setCellPadding($value)   X-Ref

param: integer the cellpadding for the table layout

getHorizontalAlign()   X-Ref

return: THorizontalAlign the horizontal alignment of the table content. Defaults to THorizontalAlign::NotSet.

setHorizontalAlign($value)   X-Ref

param: THorizontalAlign the horizontal alignment of the table content.

getGridLines()   X-Ref

return: TTableGridLines the grid line setting of the table layout. Defaults to TTableGridLines::None.

setGridLines($value)   X-Ref
Sets the grid line style of the table layout.

param: TTableGridLines the grid line setting of the table

getDataKeyField()   X-Ref

return: string the field of the data source that provides the keys of the list items.

setDataKeyField($value)   X-Ref

param: string the field of the data source that provides the keys of the list items.

getDataKeys()   X-Ref

return: TList the keys used in the data listing control.

getDataFieldValue($data,$field)   X-Ref
Returns the value of the data at the specified field.
If data is an array, TMap or TList, the value will be returned at the index
of the specified field. If the data is a component with a property named
as the field name, the property value will be returned.
Otherwise, an exception will be raised.

param: mixed data item
param: mixed field name
return: mixed data value at the specified field

onSelectedIndexChanged($param)   X-Ref
Raises OnSelectedIndexChanged event.
This method is invoked when a different item is selected
in a data listing control between posts to the server.

param: mixed event parameter



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7