class Axmls extends XmlParser (View source)

Properties

protected SimpleXMLElement $rawXML from  XmlParser
protected bool $ignoreExistingTables from  XmlParser

Methods

__construct(SimpleXMLElement $xml)

No description

setIgnoreExistingTables(bool $ignoreExistingTables)

No description

parse(Connection $db)

Transforms the XML from Adodb XML into Doctrine DBAL Schema.

string|null
getDatabaseVersion(Connection $db)

No description

_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(bool $ignoreExistingTables)

No description

Parameters

bool $ignoreExistingTables

parse(Connection $db)

Transforms the XML from Adodb XML into Doctrine DBAL Schema.

Parameters

Connection $db

protected string|null getDatabaseVersion(Connection $db)

No description

Parameters

Connection $db

Return Value

string|null

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