Changeset 5934
- Timestamp:
- 11/09/07 00:47:01 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfDoctrineAmazonS3Plugin/config/doctrine/schema.yml
r5926 r5934 3 3 Bucket: 4 4 tableName: <?php echo $config['bucket_table']."\n"; ?> 5 package: sfDoctrineAmazonS3Plugin.lib.model.doctrine 5 6 actAs: [Timestampable] 6 7 columns: … … 16 17 BucketObject: 17 18 tableName: <?php echo $config['bucket_object_table']."\n"; ?> 19 package: sfDoctrineAmazonS3Plugin.lib.model.doctrine 18 20 actAs: [Timestampable] 19 21 columns: plugins/sfDoctrineAmazonS3Plugin/lib/BasesfAmazonS3.class.php
r5926 r5934 927 927 foreach($this->parsedXml->Buckets->Bucket AS $key => $bucket) 928 928 { 929 $buckets[] = array('Name' => (string)$bucket->Name,930 'CreationDate' => (string)$bucket->CreationDate);929 $buckets[] = array('Name' => (string) $bucket->Name, 930 'CreationDate' => (string) $bucket->CreationDate); 931 931 } 932 932 … … 947 947 foreach($this->parsedXml->Contents AS $key) 948 948 { 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); 955 956 } 956 957 … … 972 973 if( $perm->Grantee->URI ) 973 974 { 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; 976 977 } 977 978