class AppData
A class for holding application data structures.
Methods
| __construct(PropelPlatformInterface $defaultPlatform = null) Creates a new instance for the specified database type. | ||
| setPlatform(PropelPlatformInterface $defaultPlatform) Sets the platform object to use for any databases added to this application model. | ||
| Platform | getPlatform() Gets the platform object to use for any databases added to this application model. | |
| setGeneratorConfig(GeneratorConfig $generatorConfig) Set the generator configuration | ||
| GeneratorConfig | getGeneratorConfig() Get the generator configuration | |
| setName(name $name) Set the name of the database. | ||
| String | getName() Get the name of the database. | |
| String | getShortName() Get the short name of the database (without the '-schema' postfix). | |
| Array | getDatabases($doFinalInit = true) Return an array of all databases | |
| boolean | hasMultipleDatabases() Returns whether this application has multiple databases. | |
| A | getDatabase($name = null, $doFinalInit = true) Return the database with the specified name. | |
| boolean | hasDatabase(name $name) Checks whether a database with the specified nam exists in this AppData | |
| addDatabase(db $db) Add a database to the list and sets the AppData property to this AppData | ||
| doFinalInitialization() | ||
| joinAppDatas(array[AppData] $ads) Merge other appData objects into this object | ||
| integer | countTables() Returns the number of tables in all the databases of this AppData object | |
| string | toString() Creates a string representation of this AppData. | |
| __toString() Magic string method | 
Details
        at line 62
                    public            
    __construct(PropelPlatformInterface $defaultPlatform = null)
    
    Creates a new instance for the specified database type.
        at line 74
                    public            
    setPlatform(PropelPlatformInterface $defaultPlatform)
    
    Sets the platform object to use for any databases added to this application model.
        at line 84
                    public            Platform
    getPlatform()
    
    Gets the platform object to use for any databases added to this application model.
        at line 94
                    public            
    setGeneratorConfig(GeneratorConfig $generatorConfig)
    
    Set the generator configuration
        at line 104
                    public            GeneratorConfig
    getGeneratorConfig()
    
    Get the generator configuration
        at line 114
                    public            
    setName(name $name)
    
    Set the name of the database.
        at line 124
                    public            String
    getName()
    
    Get the name of the database.
        at line 134
                    public            String
    getShortName()
    
    Get the short name of the database (without the '-schema' postfix).
        at line 144
                    public            Array
    getDatabases($doFinalInit = true)
    
    Return an array of all databases
        at line 159
                    public            boolean
    hasMultipleDatabases()
    
    Returns whether this application has multiple databases.
        at line 170
                    public            A
    getDatabase($name = null, $doFinalInit = true)
    
    Return the database with the specified name.
        at line 197
                    public            boolean
    hasDatabase(name $name)
    
    Checks whether a database with the specified nam exists in this AppData
        at line 213
                    public            
    addDatabase(db $db)
    
    Add a database to the list and sets the AppData property to this AppData
        at line 237
                    public            
    doFinalInitialization()
    
    
        at line 252
                    public            
    joinAppDatas(array[AppData] $ads)
    
    Merge other appData objects into this object
        at line 289
                    public            integer
    countTables()
    
    Returns the number of tables in all the databases of this AppData object
        at line 304
                    public            string
    toString()
    
    Creates a string representation of this AppData.
The representation is given in xml format.
        at line 322
                    public            
    __toString()
    
    Magic string method