Propel 2 API
Class

Propel\Generator\Manager\AbstractManager

abstract class AbstractManager

An abstract base Propel manager to perform work related to the XML schema file.

Methods

array getSchemas()

Returns the list of schemas.

setSchemas(array $schemas)

Sets the schemas list.

setWorkingDirectory(string $workingDirectory)

Sets the working directory path.

string getWorkingDirectory()

Returns the working directory path.

array getDataModels()

Returns the data models that have been processed.

array getDataModelDbMap()

Returns the data model to database name map.

setValidate(boolean $validate)

Sets whether to perform validation on the datamodel schema.xml file(s).

setXsd(string $xsd)

Sets the XSD schema to use for validation of any datamodel schema.xml file(s).

setXsl(string $xsl)

Sets the normalization XSLT to use to transform datamodel schema.xml file(s) before validation and parsing.

setDbEncoding(string $encoding)

Sets the current target database encoding.

setLoggerClosure(Closure $logger)

Sets a logger closure.

setGeneratorConfig(GeneratorConfigInterface $generatorConfig)

Sets the GeneratorConfigInterface implementation.

Details

at line 100
public array getSchemas()

Returns the list of schemas.

Return Value

array

at line 110
public setSchemas(array $schemas)

Sets the schemas list.

Parameters

array $schemas

at line 120
public setWorkingDirectory(string $workingDirectory)

Sets the working directory path.

Parameters

string $workingDirectory

at line 130
public string getWorkingDirectory()

Returns the working directory path.

Return Value

string

at line 142
public array getDataModels()

Returns the data models that have been processed.

Return Value

array

at line 156
public array getDataModelDbMap()

Returns the data model to database name map.

Return Value

array

at line 170
public setValidate(boolean $validate)

Sets whether to perform validation on the datamodel schema.xml file(s).

Parameters

boolean $validate

at line 181
public setXsd(string $xsd)

Sets the XSD schema to use for validation of any datamodel schema.xml file(s).

Parameters

string $xsd

at line 192
public setXsl(string $xsl)

Sets the normalization XSLT to use to transform datamodel schema.xml file(s) before validation and parsing.

Parameters

string $xsl

at line 202
public setDbEncoding(string $encoding)

Sets the current target database encoding.

Parameters

string $encoding Target database encoding

at line 212
public setLoggerClosure(Closure $logger)

Sets a logger closure.

Parameters

Closure $logger

at line 370
public setGeneratorConfig(GeneratorConfigInterface $generatorConfig)

Sets the GeneratorConfigInterface implementation.

Parameters

GeneratorConfigInterface $generatorConfig