Class: Doctrine_Import_Schema_Xml
Source Location: /Doctrine/Import/Schema/Xml.phpClass Doctrine_Import_Schema_Xml
Class Overview
class Doctrine_Import_Xml 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/Import/Schema/Xml.php [line 40] Doctrine_Import_Schema | --Doctrine_Import_Schema_XmlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Import_Schema
|
[ Top ]
Method Summary
Methods
parse [line 48]
|
parse
Parameters:string | $schema: |
API Tags:
Access: | public |
Redefinition of:
[ Top ]
parseSchema [line 70]
|
parseSchema
A method to parse a XML Schema and translate it into a property array. The function returns that property array.
Parameters:string | $schema: | Path to the file containing the XML schema |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import_Schema::parseSchema()
- Parse the schema and return it in an array
[ Top ]