Changeset 1754 for sandboxes/asandbox/trunk/lib/form/doctrine/apostrophePlugin/base/BaseaMediaItemForm.class.php
- Timestamp:
- 07/14/10 12:14:31 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
sandboxes/asandbox/trunk/lib/form/doctrine/apostrophePlugin/base/BaseaMediaItemForm.class.php
r1564 r1754 17 17 $this->setWidgets(array( 18 18 'id' => new sfWidgetFormInputHidden(), 19 'lucene_dirty' => new sfWidgetFormInputCheckbox(), 19 20 'type' => new sfWidgetFormChoice(array('choices' => array('image' => 'image', 'video' => 'video', 'audio' => 'audio', 'pdf' => 'pdf'))), 20 21 'service_url' => new sfWidgetFormInputText(), … … 37 38 $this->setValidators(array( 38 39 'id' => new sfValidatorChoice(array('choices' => array($this->getObject()->get('id')), 'empty_value' => $this->getObject()->get('id'), 'required' => false)), 40 'lucene_dirty' => new sfValidatorBoolean(array('required' => false)), 39 41 'type' => new sfValidatorChoice(array('choices' => array(0 => 'image', 1 => 'video', 2 => 'audio', 3 => 'pdf'))), 40 42 'service_url' => new sfValidatorString(array('max_length' => 200, 'required' => false)),

