class Axmls extends XmlParser (View source)

Properties

protected $rawXML from  XmlParser
protected $ignoreExistingTables from  XmlParser

Methods

__construct(SimpleXMLElement $xml)

No description

setIgnoreExistingTables($ignoreExistingTables)

No description

parse(Connection $db)

Transforms the XML from Adodb XML into Doctrine DBAL Schema.

_setTableOpts(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

_setPrimaryKeys(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

_setIndexes(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

_getColumnOptions(Connection $db, SimpleXMLElement $column)

No description

_getColumnType(SimpleXMLElement $column)

No description

Details

__construct(SimpleXMLElement $xml)

No description

Parameters

SimpleXMLElement $xml

setIgnoreExistingTables($ignoreExistingTables)

No description

Parameters

$ignoreExistingTables

parse(Connection $db)

Transforms the XML from Adodb XML into Doctrine DBAL Schema.

Parameters

Connection $db

protected _setTableOpts(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

protected _setPrimaryKeys(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

protected _setIndexes(Connection $db, SimpleXMLElement $table, $schemaTable)

No description

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

protected _getColumnOptions(Connection $db, SimpleXMLElement $column)

No description

Parameters

Connection $db
SimpleXMLElement $column

protected _getColumnType(SimpleXMLElement $column)

No description

Parameters

SimpleXMLElement $column