Changeset 3263 for branches/1.0/models

Show
Ignore:
Timestamp:
11/28/07 17:48:19 (14 months ago)
Author:
jwage
Message:

Merged all pending revisions in trunk to 1.0 branch to bring it up-to-date

Location:
branches/1.0/models
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/models/ColumnAliasTest.php

    r2353 r3263  
    55    { 
    66        $this->hasColumn('column1 as alias1', 'string', 200); 
    7         $this->hasColumn('column2 as alias2', 'integer', 11); 
     7        $this->hasColumn('column2 as alias2', 'integer', 4); 
     8        $this->hasColumn('another_column as anotherField', 'string', 50); 
     9        $this->hasColumn('book_id as bookId', 'integer', 4); 
    810    } 
    9     public function setUp()  
     11    public function setUp() 
    1012    { 
     13        $this->hasOne('Book as book', array('local' => 'book_id', 'foreign' => 'id')); 
    1114    } 
    1215} 
  • branches/1.0/models/SymfonyRecord.php

    r3142 r3263  
    11<?php 
     2require_once('PluginSymfonyRecord.php'); 
     3 
    24class SymfonyRecord extends PluginSymfonyRecord 
    35{