Browse Source

[MANUAL] English:

- erased endline spaces

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19991 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
6e34cea4b6

+ 24 - 24
documentation/manual/en/module_specs/Zend_Service_WindowsAzure_Blob.xml

@@ -163,16 +163,16 @@ $storageClient->setContainerAcl('testcontainer', Zend_Service_WindowsAzure_Stora
             </example>
             </example>
         </sect3>
         </sect3>
     </sect2>
     </sect2>
-  
+
     <sect2 id="zend.service.windowsazure.storage.blob.root">
     <sect2 id="zend.service.windowsazure.storage.blob.root">
         <title>Root container</title>
         <title>Root container</title>
 
 
         <para>
         <para>
-            Windows Azure Blob Storage provides support to work with a "root container". 
-            This means that a blob can be stored in the root of your storage account, 
+            Windows Azure Blob Storage provides support to work with a "root container".
+            This means that a blob can be stored in the root of your storage account,
             i.e. <code>http://myaccount.blob.core.windows.net/somefile.txt</code>.
             i.e. <code>http://myaccount.blob.core.windows.net/somefile.txt</code>.
         </para>
         </para>
-        
+
         <para>
         <para>
             In order to work with the root container, it should first be created using the
             In order to work with the root container, it should first be created using the
             <methodname>createContainer()</methodname> method, naming the container
             <methodname>createContainer()</methodname> method, naming the container
@@ -180,7 +180,7 @@ $storageClient->setContainerAcl('testcontainer', Zend_Service_WindowsAzure_Stora
             with the container name set to <varname>$root</varname>.
             with the container name set to <varname>$root</varname>.
         </para>
         </para>
     </sect2>
     </sect2>
-  
+
     <sect2 id="zend.service.windowsazure.storage.blob.wrapper">
     <sect2 id="zend.service.windowsazure.storage.blob.wrapper">
         <title>Blob storage stream wrapper</title>
         <title>Blob storage stream wrapper</title>
 
 
@@ -203,7 +203,7 @@ $fileHandle = fopen('azure://mycontainer/myfile.txt', 'r');
 fclose($fileHandle);
 fclose($fileHandle);
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
-    
+
         <para>
         <para>
             In order to do this, the Windows Azure SDK for PHP blob storage client
             In order to do this, the Windows Azure SDK for PHP blob storage client
             must be registered as a stream wrapper. This can be done by calling the
             must be registered as a stream wrapper. This can be done by calling the
@@ -222,7 +222,7 @@ $storageClient->registerStreamWrapper(); // registers azure:// on this storage c
 $storageClient->registerStreamWrapper('blob://'); // regiters blob:// on this storage client
 $storageClient->registerStreamWrapper('blob://'); // regiters blob:// on this storage client
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
-    
+
         <para>
         <para>
             To unregister the stream wrapper, the <methodname>unregisterStreamWrapper()</methodname>
             To unregister the stream wrapper, the <methodname>unregisterStreamWrapper()</methodname>
             method can be used.
             method can be used.
@@ -240,20 +240,20 @@ $storageClient->registerStreamWrapper('blob://'); // regiters blob:// on this st
             assigned on a container or a blob and given to a specific client using an URL-based
             assigned on a container or a blob and given to a specific client using an URL-based
             model.
             model.
         </para>
         </para>
-        
+
         <para>
         <para>
             An example would be the following signature:
             An example would be the following signature:
         </para>
         </para>
-        
+
         <literallayout>
         <literallayout>
 http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&amp;se=2009-08-17T09%3A56%3A17Z&amp;sr=c&amp;sp=w&amp;sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D
 http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&amp;se=2009-08-17T09%3A56%3A17Z&amp;sr=c&amp;sp=w&amp;sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D
         </literallayout>
         </literallayout>
-        
+
         <para>
         <para>
             The above signature gives write access to the "phpazuretestshared1"
             The above signature gives write access to the "phpazuretestshared1"
             container of the "phpstorage" account.
             container of the "phpstorage" account.
         </para>
         </para>
-    
+
         <sect3 id="zend.service.windowsazure.storage.blob.sharedaccesssig.generate">
         <sect3 id="zend.service.windowsazure.storage.blob.sharedaccesssig.generate">
             <title>Generating a Shared Access Signature</title>
             <title>Generating a Shared Access Signature</title>
 
 
@@ -264,7 +264,7 @@ http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A0
                 <classname>Zend_Service_WindowsAzure_Storage_Blob</classname> storage client can be
                 <classname>Zend_Service_WindowsAzure_Storage_Blob</classname> storage client can be
                 used.
                 used.
             </para>
             </para>
-            
+
             <para>
             <para>
                 The following example code will generate a Shared Access Signature for write access
                 The following example code will generate a Shared Access Signature for write access
                 in a container named "container1", within a timeframe of 3000 seconds.
                 in a container named "container1", within a timeframe of 3000 seconds.
@@ -278,14 +278,14 @@ $storageClient   = new Zend_Service_WindowsAzure_Storage_Blob();
 $sharedAccessUrl = storageClient->generateSharedAccessUrl(
 $sharedAccessUrl = storageClient->generateSharedAccessUrl(
     'container1',
     'container1',
     '',
     '',
-    'c', 
+    'c',
     'w',
     'w',
     $storageClient ->isoDate(time() - 500),
     $storageClient ->isoDate(time() - 500),
     $storageClient ->isoDate(time() + 3000)
     $storageClient ->isoDate(time() + 3000)
 );
 );
 ]]></programlisting>
 ]]></programlisting>
             </example>
             </example>
-            
+
             <para>
             <para>
                 The following example code will generate a Shared Access Signature for read access
                 The following example code will generate a Shared Access Signature for read access
                 in a blob named <filename>test.txt</filename> in a container named "container1"
                 in a blob named <filename>test.txt</filename> in a container named "container1"
@@ -300,7 +300,7 @@ $storageClient   = new Zend_Service_WindowsAzure_Storage_Blob();
 $sharedAccessUrl = storageClient->generateSharedAccessUrl(
 $sharedAccessUrl = storageClient->generateSharedAccessUrl(
     'container1',
     'container1',
     'test.txt',
     'test.txt',
-    'b', 
+    'b',
     'r',
     'r',
     $storageClient ->isoDate(time() - 500),
     $storageClient ->isoDate(time() - 500),
     $storageClient ->isoDate(time() + 3000)
     $storageClient ->isoDate(time() + 3000)
@@ -308,7 +308,7 @@ $sharedAccessUrl = storageClient->generateSharedAccessUrl(
 ]]></programlisting>
 ]]></programlisting>
             </example>
             </example>
         </sect3>
         </sect3>
-        
+
         <sect3 id="zend.service.windowsazure.storage.blob.sharedaccesssig.consume">
         <sect3 id="zend.service.windowsazure.storage.blob.sharedaccesssig.consume">
             <title>Working with Shared Access Signatures from others</title>
             <title>Working with Shared Access Signatures from others</title>
 
 
@@ -317,11 +317,11 @@ $sharedAccessUrl = storageClient->generateSharedAccessUrl(
                 Windows Azure SDK for PHP to work with the addressed resource.  For example, the
                 Windows Azure SDK for PHP to work with the addressed resource.  For example, the
                 following signature can be retrieved from the owner of a storage account:
                 following signature can be retrieved from the owner of a storage account:
             </para>
             </para>
-            
+
             <literallayout>
             <literallayout>
 http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&amp;se=2009-08-17T09%3A56%3A17Z&amp;sr=c&amp;sp=w&amp;sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D
 http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&amp;se=2009-08-17T09%3A56%3A17Z&amp;sr=c&amp;sp=w&amp;sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D
             </literallayout>
             </literallayout>
-            
+
             <para>
             <para>
                 The above signature gives write access to the "phpazuretestshared1" "container" of
                 The above signature gives write access to the "phpazuretestshared1" "container" of
                 the phpstorage account. Since the shared key for the account is not known, the
                 the phpstorage account. Since the shared key for the account is not known, the
@@ -334,19 +334,19 @@ http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A0
                 <programlisting language="php"><![CDATA[
                 <programlisting language="php"><![CDATA[
 $storageClient = new Zend_Service_WindowsAzure_Storage_Blob(
 $storageClient = new Zend_Service_WindowsAzure_Storage_Blob(
     'blob.core.windows.net', 'phpstorage', ''
     'blob.core.windows.net', 'phpstorage', ''
-); 
-$storageClient->setCredentials( 
-    new Zend_Service_WindowsAzure_Credentials_SharedAccessSignature() 
 );
 );
-$storageClient->getCredentials()->setPermissionSet(array( 
-    'http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&se=2009-08-17T09%3A56%3A17Z&sr=c&sp=w&sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D' 
+$storageClient->setCredentials(
+    new Zend_Service_WindowsAzure_Credentials_SharedAccessSignature()
+);
+$storageClient->getCredentials()->setPermissionSet(array(
+    'http://phpstorage.blob.core.windows.net/phpazuretestshared1?st=2009-08-17T09%3A06%3A17Z&se=2009-08-17T09%3A56%3A17Z&sr=c&sp=w&sig=hscQ7Su1nqd91OfMTwTkxabhJSaspx%2BD%2Fz8UqZAgn9s%3D'
 ));
 ));
 $storageClient->putBlob(
 $storageClient->putBlob(
     'phpazuretestshared1', 'NewBlob.txt', 'C:\Files\dataforazure.txt'
     'phpazuretestshared1', 'NewBlob.txt', 'C:\Files\dataforazure.txt'
 );
 );
 ]]></programlisting>
 ]]></programlisting>
             </example>
             </example>
-            
+
             <para>
             <para>
                 Note that there was no explicit permission to write to a specific blob. Instead, the
                 Note that there was no explicit permission to write to a specific blob. Instead, the
                 Windows Azure SDK for PHP determined that a permission was required to either write
                 Windows Azure SDK for PHP determined that a permission was required to either write