[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TAttributeCollection classes
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TAttributeCollection.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 155 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TAttributeCollection:: (9 méthodes):
__get()
__set()
itemAt()
add()
remove()
contains()
hasProperty()
canGetProperty()
canSetProperty()
Classe: TAttributeCollection - X-Ref
TAttributeCollection class__get($name) X-Ref |
Returns a property value or an event handler list by property or event name. This method overrides the parent implementation by returning a key value if the key exists in the collection. param: string the property name or the event name return: mixed the property value or the event handler list |
__set($name,$value) X-Ref |
Sets value of a component property. This method overrides the parent implementation by adding a new key value to the collection. param: string the property name or event name param: mixed the property value or event handler |
itemAt($key) X-Ref |
Returns the item with the specified key. This overrides the parent implementation by converting the key to lower case first. param: mixed the key return: mixed the element at the offset, null if no element is found at the offset |
add($key,$value) X-Ref |
Adds an item into the map. This overrides the parent implementation by converting the key to lower case first. param: mixed key param: mixed value |
remove($key) X-Ref |
Removes an item from the map by its key. This overrides the parent implementation by converting the key to lower case first. param: mixed the key of the item to be removed return: mixed the removed value, null if no such key exists. |
contains($key) X-Ref |
Returns whether the specified is in the map. This overrides the parent implementation by converting the key to lower case first. param: mixed the key return: boolean whether the map contains an item with the specified key |
hasProperty($name) X-Ref |
Determines whether a property is defined. This method overrides parent implementation by returning true if the collection contains the named key. param: string the property name return: boolean whether the property is defined |
canGetProperty($name) X-Ref |
Determines whether a property can be read. This method overrides parent implementation by returning true if the collection contains the named key. param: string the property name return: boolean whether the property can be read |
canSetProperty($name) X-Ref |
Determines whether a property can be set. This method overrides parent implementation by always returning true because you can always add a new value to the collection. param: string the property name return: boolean true |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |