class Axmls extends XmlParser (View source)

Properties

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

Methods

__construct(SimpleXMLElement $xml)

No description

from XmlParser
setIgnoreExistingTables(bool $ignoreExistingTables)

No description

from XmlParser
parse(Connection $db)

Transforms the XML from Adodb XML into Doctrine DBAL Schema.

string|null
getDatabaseVersion(Connection $db)

No description

from XmlParser
_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)

Parameters

SimpleXMLElement $xml

setIgnoreExistingTables(bool $ignoreExistingTables)

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)

Parameters

Connection $db

Return Value

string|null

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

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

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

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

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

Parameters

Connection $db
SimpleXMLElement $table
$schemaTable

protected _getColumnOptions(Connection $db, SimpleXMLElement $column)

Parameters

Connection $db
SimpleXMLElement $column

protected _getColumnType(SimpleXMLElement $column)

Parameters

SimpleXMLElement $column