Class: Doctrine_Export_Schema
Source Location: /Doctrine/Export/Schema.phpClass Doctrine_Export_Schema
Class Overview
class Doctrine_Export_Schema Different methods to import a XML schema. The logic behind using two different methods is simple. Some people will like the idea of producing Doctrine_Record objects directly, which is totally fine. But in fast and growing application, table definitions tend to be a little bit more volatile. importArr() can be used to output a table definition in a PHP file. This file can then be stored independantly from the object itself. Located in /Doctrine/Export/Schema.php [line 39] Author(s):
Information Tags:
|
[ Top ]
Direct descendents
Child Class | Description |
---|---|
Doctrine_Export_Schema_Xml | class Doctrine_Export_Schema_Xml |
Doctrine_Export_Schema_Yml | class Doctrine_Export_Schema_Yml |
[ Top ]
Method Summary
void | build() | build |
void | buildSchema() | buildSchema |
void | dump() | dump |
void | exportSchema() | exportSchema |
[ Top ]
Methods
build [line 49]
|
build
Build the schema string to be dumped to file
Parameters:string | $array: |
API Tags:
Abstract: |
Redefined in descendants as:
[ Top ]
buildSchema [line 70]
|
buildSchema
Build schema array that can be dumped to file
Parameters:string | $directory: |
API Tags:
Access: | public |
[ Top ]
dump [line 60]
|
dump
Dump the array to the schema file
Parameters:string | $array: | |
string | $schema: |
API Tags:
Abstract: |
Redefined in descendants as:
[ Top ]