Changeset 7275
- Timestamp:
- 02/02/08 19:51:48 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/plugins/sfPropelPlugin/lib/propel/sfFormPropel.class.php
r6807 r7275 35 35 * 36 36 * @param BaseObject A Propel object used to initialize default values 37 * @param string A CSRF secret (false to disable CSRF protection, null to use the global CSRF secret) 37 * @param array An array of options 38 * @param string A CSRF secret (false to disable CSRF protection, null to use the global CSRF secret) 38 39 * 39 40 * @see sfForm 40 41 */ 41 public function __construct(BaseObject $object = null, $ CSRFSecret = null)42 public function __construct(BaseObject $object = null, $options = array(), $CSRFSecret = null) 42 43 { 43 44 if (is_null($object)) … … 57 58 } 58 59 59 parent::__construct(array(), $ CSRFSecret);60 parent::__construct(array(), $options, $CSRFSecret); 60 61 61 62 $this->updateDefaultsFromObject();