To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
04/27/10 14:25:35 (2 years ago)
Author:
johnnyoffline
Message:

Blog migration and build all classes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandboxes/asandbox/trunk/lib/filter/doctrine/apostropheBlogPlugin/base/BaseaBlogItemFormFilter.class.php

    r932 r1071  
    1717      'page_id'         => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Page'), 'add_empty' => true)), 
    1818      'title'           => new sfWidgetFormFilterInput(array('with_empty' => false)), 
     19      'slug_saved'      => new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no'))), 
    1920      'excerpt'         => new sfWidgetFormFilterInput(), 
    2021      'status'          => new sfWidgetFormChoice(array('choices' => array('' => '', 'draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), 
     
    3637      'page_id'         => new sfValidatorDoctrineChoice(array('required' => false, 'model' => $this->getRelatedModelName('Page'), 'column' => 'id')), 
    3738      'title'           => new sfValidatorPass(array('required' => false)), 
     39      'slug_saved'      => new sfValidatorChoice(array('required' => false, 'choices' => array('', 1, 0))), 
    3840      'excerpt'         => new sfValidatorPass(array('required' => false)), 
    3941      'status'          => new sfValidatorChoice(array('required' => false, 'choices' => array('draft' => 'draft', 'pending review' => 'pending review', 'published' => 'published'))), 
     
    104106      'page_id'         => 'ForeignKey', 
    105107      'title'           => 'Text', 
     108      'slug_saved'      => 'Boolean', 
    106109      'excerpt'         => 'Text', 
    107110      'status'          => 'Enum',