Changeset 1071 for sandboxes/asandbox/trunk/lib/filter/doctrine/apostropheBlogPlugin/base/BaseaBlogItemFormFilter.class.php
- Timestamp:
- 04/27/10 14:25:35 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandboxes/asandbox/trunk/lib/filter/doctrine/apostropheBlogPlugin/base/BaseaBlogItemFormFilter.class.php
r932 r1071 17 17 'page_id' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'add_empty' => true)), 18 18 'title' => new sfWidgetFormFilterInput(array('with_empty' => false)), 19 'slug_saved' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 19 20 'excerpt' => new sfWidgetFormFilterInput(), 20 21 'status' => new sfWidgetFormChoice(array('choices' => array('' => '', 'draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), … … 36 37 'page_id' => new sfValidatorDoctrineChoice(array('required' => false, 'model' => $this->getRelatedModelName('Page'), 'column' => 'id')), 37 38 'title' => new sfValidatorPass(array('required' => false)), 39 'slug_saved' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 38 40 'excerpt' => new sfValidatorPass(array('required' => false)), 39 41 'status' => new sfValidatorChoice(array('required' => false, 'choices' => array('draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), … … 104 106 'page_id' => 'ForeignKey', 105 107 'title' => 'Text', 108 'slug_saved' => 'Boolean', 106 109 'excerpt' => 'Text', 107 110 'status' => 'Enum',

