Changeset 1754 for sandboxes/asandbox/trunk/lib/filter/doctrine/apostrophePlugin/base/BaseaMediaItemFormFilter.class.php
- Timestamp:
- 07/14/10 12:14:31 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandboxes/asandbox/trunk/lib/filter/doctrine/apostrophePlugin/base/BaseaMediaItemFormFilter.class.php
r1354 r1754 14 14 { 15 15 $this->setWidgets(array( 16 'lucene_dirty' => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 16 17 'type' => new sfWidgetFormChoice(array('choices' => array('' => '', 'image' => 'image', 'video' => 'video', 'audio' => 'audio', 'pdf' => 'pdf'))), 17 18 'service_url' => new sfWidgetFormFilterInput(), … … 33 34 34 35 $this->setValidators(array( 36 'lucene_dirty' => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 35 37 'type' => new sfValidatorChoice(array('required' => false, 'choices' => array('image' => 'image', 'video' => 'video', 'audio' => 'audio', 'pdf' => 'pdf'))), 36 38 'service_url' => new sfValidatorPass(array('required' => false)), … … 105 107 return array( 106 108 'id' => 'Number', 109 'lucene_dirty' => 'Boolean', 107 110 'type' => 'Enum', 108 111 'service_url' => 'Text',

