Propel API
Class

QuickGeneratorConfig

class QuickGeneratorConfig implements GeneratorConfigInterface

Methods

__construct()

getConfiguredBuilder(Table $table, $type)

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

Pluralizer getConfiguredPluralizer()

Gets a configured Pluralizer class.

setBuildProperties($props)

Parses the passed-in properties, renaming and saving eligible properties in this object.

getBuildProperty($name)

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

setBuildProperty(string $name, mixed $value)

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

Details

at line 42
public __construct()

at line 80
public getConfiguredBuilder(Table $table, $type)

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

Parameters

Table $table
$type

at line 94
public Pluralizer getConfiguredPluralizer()

Gets a configured Pluralizer class.

Return Value

Pluralizer

at line 108
public setBuildProperties($props)

Parses the passed-in properties, renaming and saving eligible properties in this object.

Renames the propel.xxx properties to just xxx and renames any xxx.yyy properties
to xxxYyy as PHP doesn't like the xxx.yyy syntax.

Parameters

$props

at line 132
public getBuildProperty($name)

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

Parameters

$name

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

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

Parameters

string $name
mixed $value