| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TDataFieldAccessor class file
| Author: | Qiang Xue <qiang.xue@gmail.com> |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TDataFieldAccessor.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 117 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TDataFieldAccessor:: (1 méthode):
getDataFieldValue()
Classe: TDataFieldAccessor - X-Ref
TDataFieldAccessor class| getDataFieldValue($data,$field) X-Ref |
| Evaluates the data value at the specified field. - If the data is an array, then the field is treated as an array index and the corresponding element value is returned; - If the data is a TMap or TList object, then the field is treated as a key into the map or list, and the corresponding value is returned. - If the data is an object, the field is treated as a property or subproperty defined with getter methods. For example, if the object has a method called getMyValue(), then field 'MyValue' will retrive the result of this method call. If getMyValue() returns an object which contains a method getMySubValue(), then field 'MyValue.MySubValue' will return that method call result. param: mixed data containing the field value, can be an array, TMap, TList or object. param: mixed field value return: mixed value at the specified field |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |