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/model/doctrine/apostropheBlogPlugin/base/BaseaBlogItem.class.php

    r932 r1071  
    1010 * @property integer $page_id 
    1111 * @property string $title 
     12 * @property boolean $slug_saved 
    1213 * @property string $excerpt 
    1314 * @property enum $status 
     
    2930 * @method integer             getPageId()             Returns the current record's "page_id" value 
    3031 * @method string              getTitle()              Returns the current record's "title" value 
     32 * @method boolean             getSlugSaved()          Returns the current record's "slug_saved" value 
    3133 * @method string              getExcerpt()            Returns the current record's "excerpt" value 
    3234 * @method enum                getStatus()             Returns the current record's "status" value 
     
    4749 * @method aBlogItem           setPageId()             Sets the current record's "page_id" value 
    4850 * @method aBlogItem           setTitle()              Sets the current record's "title" value 
     51 * @method aBlogItem           setSlugSaved()          Sets the current record's "slug_saved" value 
    4952 * @method aBlogItem           setExcerpt()            Sets the current record's "excerpt" value 
    5053 * @method aBlogItem           setStatus()             Sets the current record's "status" value 
     
    9194             'length' => 255, 
    9295             )); 
     96        $this->hasColumn('slug_saved', 'boolean', null, array( 
     97             'type' => 'boolean', 
     98             'default' => false, 
     99             )); 
    93100        $this->hasColumn('excerpt', 'string', null, array( 
    94101             'type' => 'string', 
     
    177184        $taggable0 = new Taggable(); 
    178185        $sluggable0 = new Doctrine_Template_Sluggable(array( 
    179              'canUpdate' => true, 
     186             'fields' =>  
     187             array( 
     188              0 => 'title', 
     189             ), 
     190             'builder' =>  
     191             array( 
     192              0 => 'aTools', 
     193              1 => 'slugify', 
     194             ), 
    180195             )); 
    181196        $this->actAs($timestampable0);