You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							493 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							493 B
						
					
					
				| <?php | |
| 
 | |
| 
 | |
| /** | |
|  * Class DeleteObjectsResult | |
|  * @package OSS\Result | |
|  */ | |
| class DeleteObjectsResult extends Result | |
| { | |
|     /** | |
|      * @return array() | |
|      */ | |
|     protected function parseDataFromResponse() | |
|     { | |
|         $body = $this->rawResponse->body; | |
|         $xml = simplexml_load_string($body); | |
|         $objects = array(); | |
| 
 | |
|         if (isset($xml->Deleted)) { | |
|             foreach($xml->Deleted as $deleteKey) | |
|                 $objects[] = $deleteKey->Key; | |
|         } | |
|         return $objects; | |
|     } | |
| }
 | |
| 
 |