abstract class XMLElement
An abstract class for elements represented by XML tags (e.g.
Column, Table).
Methods
| loadFromXML(array $attributes) This is the entry point method for loading data from XML. | ||
| array | getAttributes() Returns the assoc array of attributes. | |
| mixed | getAttribute(string $name, mixed $defaultValue = null) Gets a particular attribute by [case-insensitive] name. | |
| appendXml(DOMNode $node) Appends DOM elements to represent this object in XML. | ||
| VendorInfo | addVendorInfo(mixed $data) Sets an associated VendorInfo object. | |
| VendorInfo | getVendorInfoForType($type) Gets the any associated VendorInfo object. | |
| string | getConfiguredBehavior(string $bname) Find the best class name for a given behavior Looks in build.properties for path like propel.behavior.[bname].class If not found, tries to autoload [Bname]Behavior If no success, returns 'Behavior' | |
| toString() String representation of the current object. | ||
| __toString() Magic string method | 
Details
        at line 47
                    public            
    loadFromXML(array $attributes)
    
    This is the entry point method for loading data from XML.
It calls a setupObject() method that must be implemented by the child class.
        at line 58
                    public            array
    getAttributes()
    
    Returns the assoc array of attributes.
All attribute names (keys) are lowercase.
        at line 70
                    public            mixed
    getAttribute(string $name, mixed $defaultValue = null)
    
    Gets a particular attribute by [case-insensitive] name.
If attribute is not set then the $defaultValue is returned.
        at line 98
            abstract        public            
    appendXml(DOMNode $node)
    
    Appends DOM elements to represent this object in XML.
        at line 106
                    public            VendorInfo
    addVendorInfo(mixed $data)
    
    Sets an associated VendorInfo object.
        at line 123
                    public            VendorInfo
    getVendorInfoForType($type)
    
    Gets the any associated VendorInfo object.
        at line 142
                    public            string
    getConfiguredBehavior(string $bname)
    
    Find the best class name for a given behavior Looks in build.properties for path like propel.behavior.[bname].class If not found, tries to autoload [Bname]Behavior If no success, returns 'Behavior'
        at line 165
                    public            
    toString()
    
    String representation of the current object.
This is an xml representation with the XML declaration removed.
        at line 178
                    public            
    __toString()
    
    Magic string method