[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
An abstract class for elements represented by XML tags (e.g. Column, Table).
Author: | Hans Lellelid <hans@xmpl.org> |
Version: | $Revision: 315 $ |
Poids: | 141 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
loadFromXML($attributes) X-Ref |
This is the entry point method for loading data from XML. It calls a setupObject() method that must be implemented by the child class. param: array $attributes The attributes for the XML tag. |
getAttributes() X-Ref |
Returns the assoc array of attributes. All attribute names (keys) are lowercase. return: array |
getAttribute($name, $defaultValue = null) X-Ref |
Gets a particular attribute by [case-insensitive] name. If attribute is not set then the $defaultValue is returned. param: string $name The [case-insensitive] name of the attribute to lookup. param: mixed $defaultValue The default value to use in case the attribute is not set. return: mixed The value of the attribute or $defaultValue if not set. |
booleanValue($val) X-Ref |
Converts value specified in XML to a boolean value. This is to support the default value when used w/ a boolean column. return: value |
setVendorParameter($name, $value) X-Ref |
Sets vendor specific parameter that applies to this object. param: string $name param: string $value |
hasVendorParameter($name) X-Ref |
Whether specified vendor specific information is set. param: string $name return: boolean |
getVendorParameter($name) X-Ref |
Returns specified vendor specific information is set. param: string $name return: string |
setVendorSpecificInfo($info) X-Ref |
Sets vendor specific information for this object. param: array $info |
getVendorSpecificInfo() X-Ref |
Retrieves vendor specific information for this object. return: array |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |