Propel API
Interface

GeneratorConfigInterface

interface GeneratorConfigInterface

Methods

DataModelBuilder getConfiguredBuilder(Table $table, string $type)

Gets a configured data model builder class for specified table and based on type.

Pluralizer getConfiguredPluralizer()

Gets a configured Pluralizer class.

mixed getBuildProperty(string $name)

Gets a specific propel (renamed) property from the build.

setBuildProperty(string $name, mixed $value)

Sets a specific propel (renamed) property from the build.

getConfiguredPlatform(PDO $con = null, $database = null)

Creates and configures a new Platform class.

getConfiguredBehavior($name)

Gets a configured behavior class

Details

at line 23
public DataModelBuilder getConfiguredBuilder(Table $table, string $type)

Gets a configured data model builder class for specified table and based on type.

Parameters

Table $table
string $type The type of builder ('ddl', 'sql', etc.)

Return Value

DataModelBuilder

at line 30
public Pluralizer getConfiguredPluralizer()

Gets a configured Pluralizer class.

Return Value

Pluralizer

at line 38
public mixed getBuildProperty(string $name)

Gets a specific propel (renamed) property from the build.

Parameters

string $name

Return Value

mixed

at line 46
public setBuildProperty(string $name, mixed $value)

Sets a specific propel (renamed) property from the build.

Parameters

string $name
mixed $value

at line 51
public getConfiguredPlatform(PDO $con = null, $database = null)

Creates and configures a new Platform class.

Parameters

PDO $con
$database

at line 56
public getConfiguredBehavior($name)

Gets a configured behavior class

Parameters

$name