class EntityPopulator

Service class for populating a table through a Propel ActiveRecord class.

Methods

__construct( string $class)

Class constructor.

string
getClass()

No description

setColumnFormatters($columnFormatters)

No description

array
getColumnFormatters()

No description

mergeColumnFormattersWith($columnFormatters)

No description

array
guessColumnFormatters( Generator $generator)

No description

setModifiers($modifiers)

No description

array
getModifiers()

No description

mergeModifiersWith($modifiers)

No description

array
guessModifiers( Generator $generator)

No description

execute($con, $insertedEntities)

Insert one new record using the Entity class.

Details

__construct( string $class)

Class constructor.

Parameters

string $class A Propel ActiveRecord classname

string getClass()

Return Value

string

setColumnFormatters($columnFormatters)

Parameters

$columnFormatters

array getColumnFormatters()

Return Value

array

mergeColumnFormattersWith($columnFormatters)

Parameters

$columnFormatters

array guessColumnFormatters( Generator $generator)

Parameters

Generator $generator

Return Value

array

setModifiers($modifiers)

Parameters

$modifiers

array getModifiers()

Return Value

array

mergeModifiersWith($modifiers)

Parameters

$modifiers

array guessModifiers( Generator $generator)

Parameters

Generator $generator

Return Value

array

execute($con, $insertedEntities)

Insert one new record using the Entity class.

Parameters

$con
$insertedEntities