Changeset 12181
- Timestamp:
- 10/14/08 18:26:34 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPropelPlugin/trunk/lib/form/sfFormPropel.class.php
r12165 r12181 60 60 * Returns the default connection for the current model. 61 61 * 62 * @return ConnectionA database connection62 * @return PropelPDO A database connection 63 63 */ 64 64 public function getConnection() … … 120 120 * @param array $taintedValues An array of tainted values to use to bind the form 121 121 * @param array $taintedFiles An array of uploaded files (in the $_FILES or $_GET format) 122 * @param Connection $con An optional Propel Connectionobject122 * @param PropelPDO $con An optional PropelPDO object 123 123 * 124 124 * @return Boolean true if the form is valid, false otherwise … … 144 144 * If the form is not valid, it throws an sfValidatorError. 145 145 * 146 * @param Connection $con An optional Connectionobject146 * @param PropelPDO $con An optional PropelPDO object 147 147 * 148 148 * @return BaseObject The current saved object … … 221 221 catch (Exception $e) 222 222 { 223 // no a "real" column of this object223 // not a "real" column of this object 224 224 if (!method_exists($this, $method = sprintf('update%sColumn', self::camelize($field)))) 225 225 { … … 255 255 * Updates the associated i18n objects values. 256 256 * 257 * @param Connection $con An optional Connectionobject257 * @param PropelPDO $con An optional PropelPDO object 258 258 */ 259 259 public function updateI18nObjects() … … 338 338 * this is the method to override. 339 339 * 340 * @param Connection $con An optional Connectionobject340 * @param PropelPDO $con An optional PropelPDO object 341 341 */ 342 342 protected function doSave($con = null)