Development

Changeset 5934

You must first sign up to be able to contribute.

Changeset 5934

Show
Ignore:
Timestamp:
11/09/07 00:47:01 (6 years ago)
Author:
Jonathan.Wage
Message:

Formatting and added package parameter to schema.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineAmazonS3Plugin/config/doctrine/schema.yml

    r5926 r5934  
    33Bucket:  
    44  tableName: <?php echo $config['bucket_table']."\n"; ?> 
     5  package: sfDoctrineAmazonS3Plugin.lib.model.doctrine 
    56  actAs: [Timestampable] 
    67  columns: 
     
    1617BucketObject:  
    1718  tableName: <?php echo $config['bucket_object_table']."\n"; ?> 
     19  package: sfDoctrineAmazonS3Plugin.lib.model.doctrine 
    1820  actAs: [Timestampable] 
    1921  columns:  
  • plugins/sfDoctrineAmazonS3Plugin/lib/BasesfAmazonS3.class.php

    r5926 r5934  
    927927        foreach($this->parsedXml->Buckets->Bucket AS $key => $bucket) 
    928928        { 
    929             $buckets[] = array('Name'                     =>     (string)$bucket->Name, 
    930                                                  'CreationDate'     =>     (string)$bucket->CreationDate); 
     929            $buckets[] = array('Name'             =>     (string) $bucket->Name, 
     930                               'CreationDate'     =>     (string) $bucket->CreationDate); 
    931931        } 
    932932  
     
    947947        foreach($this->parsedXml->Contents AS $key) 
    948948        { 
    949             $bucketKeys[] = array(    'Key'                         =>     (string)$key->Key, 
    950                                                             'LastModified'        =>    (string)$key->LastModified, 
    951                                                             'ETag'                        =>    (string)$key->Etag, 
    952                                                             'Size'                        =>    (string)$key->Size, 
    953                                                             'Owner'                        =>    array('ID' => (string)$key->Owner->ID, 'DisplayName' => (string)$key->Owner->DisplayName), 
    954                                                             'StorageClass'        =>    (string)$key->StorageClass); 
     949            $bucketKeys[] = array('Key'                 =>  (string) $key->Key, 
     950                                  'LastModified'        =>  (string) $key->LastModified, 
     951                                  'ETag'                =>  (string) $key->Etag, 
     952                                  'Size'                =>  (string) $key->Size, 
     953                                  'Owner'               =>  array('ID'          => (string) $key->Owner->ID, 
     954                                                                  'DisplayName' => (string) $key->Owner->DisplayName), 
     955                                  'StorageClass'        =>  (string)$key->StorageClass); 
    955956        } 
    956957         
     
    972973            if( $perm->Grantee->URI ) 
    973974            { 
    974                 $string .= (string)str_replace('http://acs.amazonaws.com/groups/global/', '', $perm->Grantee->URI); 
    975                 $string .= (string)$perm->Permission; 
     975                $string .= (string) str_replace('http://acs.amazonaws.com/groups/global/', '', $perm->Grantee->URI); 
     976                $string .= (string) $perm->Permission; 
    976977            } 
    977978