Author: francois
Date: 2010-05-05 12:29:58 +0200 (Wed, 05 May 2010)
New Revision: 29354
Modified:
plugins/sfPropel15Plugin/trunk/doc/form.txt
Log:
[sfPropel15Plugin] Fixed typo in forms doc
Modified: plugins/sfPropel15Plugin/trunk/doc/form.txt
===================================================================
--- plugins/sfPropel15Plugin/trunk/doc/form.txt 2010-05-05 10:23:50 UTC (rev
29353)
+++ plugins/sfPropel15Plugin/trunk/doc/form.txt 2010-05-05 10:29:58 UTC (rev
29354)
@@ -134,10 +134,10 @@
public function configure()
{
// ...
- $this->widgetSchema['created_at']->setWidget(new sfWidgetFormPlain()));
- $this->widgetSchema['updated_at']->setWidget(new sfWidgetFormPlain()));
- $this->validatorSchema['created_at']->setValidator(new
sfValidatorPass(array('required' => false)));
- $this->validatorSchema['updated_at']->setValidator(new
sfValidatorPass(array('required' => false)));
+ $this->setWidget('created_at', new sfWidgetFormPlain());
+ $this->setWidget('updated_at', new sfWidgetFormPlain());
+ $this->setValidator('created_at', new sfValidatorPass(array('required'
=> false)));
+ $this->setValidator('updated_at', new sfValidatorPass(array('required'
=> false)));
$this->mergePostValidator(
new sfValidatorSchemaRemove(array('fields' => array('created_at',
'updated_at')))
);
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.