propelorm/Propel — pull request #349 by chmeliuk (2012-05-03 19:02:33+00:00)
Title: pre-defined key type for object builder.

What was done:
* added new parameter to the `generator/default.properties`. default is `phpName`
* extended `generator/lib/builder/om/PHP5ObjectBuilder.php`

with these changes you can specify which key type builder should use as default.
available types are: `phpName`, `studlyPhpName`, `colName`, `rawColName`, `fieldName`, `num`.
it's very useful for cases when you often should convert object to array with `toArray()` with different from default key type.