Skip to content

Commit 2b7ea8e

Browse files
committed
Merge branch 'master' of github.com:rackspace/php-opencloud
2 parents 69e7032 + 803eb74 commit 2b7ea8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3991
-30418
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ version list:
4949

5050
### Installation
5151

52-
You can download the latest official release here:
53-
54-
https://github.com/rackspace/php-opencloud/downloads
52+
GitHub has deprecated its `/downloads` directory. Click on the `ZIP` button
53+
on this page to download the entire repository as a .ZIP file.
5554

5655
Move the files in the `lib/` directory to a location in your PHP's
5756
`include_path` or, conversely, set the `include_path` to point to the

RELEASENOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ RELEASE NOTES
1515
the previous behavior, this might cause it to break.**
1616
* Support for Rackspace Cloud Load Balancers
1717
* Fix to remove requirement for Tenant ID in authentication
18+
* Added `ExportCredentials()` and `ImportCredentials()` methods to the
19+
`OpenStack` class to permit caching of tokens.
1820

1921
### 11/06/2012 Version 1.2
2022
* Adds full support for OpenStack Cinder/Rackspace Cloud Block Storage

docs/api/base.inc.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1>Properties</h1>
7676
<a title="">1.0</a>
7777

7878
</div>
79-
<label class="property-key">Abstract</label><div class="property-value">No 
79+
<label class="property-key">Abstract</label><div class="property-value">Yes 
8080
</div>
8181
<label class="property-key">Final</label><div class="property-value">No 
8282
</div>
@@ -346,7 +346,8 @@ <h4>Tags</h4>
346346
</tr></thead>
347347
<tbody><tr>
348348
<td>throws</td>
349-
<td>if strict checks are on and the property prefix is not in the list of prefixes.</td>
349+
<td>if strict checks are on and
350+
the property prefix is not in the list of prefixes.</td>
350351
</tr></tbody>
351352
</table>
352353
</div>
@@ -486,7 +487,8 @@ <h4>Description</h4>
486487
<tr>
487488
<td>$msg</td>
488489
<td style="white-space: normal;">string</td>
489-
<td><p>The message string (required); can be in sprintf() format.</p>
490+
<td><p>The message string (required); can be in
491+
sprintf() format.</p>
490492
</td>
491493
<td></td>
492494
</tr>
@@ -605,7 +607,7 @@ <h4>Properties</h4>
605607
<div style="clear: both"></div>
606608
</div>
607609
</div>
608-
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a8</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
610+
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a12</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
609611
$(function() {
610612

611613
var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );

docs/api/cloud.inc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h1>Properties</h1>
6161
</div>
6262
<h2>Description</h2>A convenience file that loads all the other components<br><br><a name="includes"></a><h2>Includes</h2>rackspace.inc <span class="nb-faded-text">(Require Once)</span><br>compute.inc <span class="nb-faded-text">(Require Once)</span><br>objectstore.inc <span class="nb-faded-text">(Require Once)</span><br>dbservice.inc <span class="nb-faded-text">(Require Once)</span><br>
6363
</div>
64-
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a8</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
64+
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a12</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
6565
$(function() {
6666

6767
var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );

docs/api/collection.inc.html

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ <h4>Tags</h4>
423423
</div>
424424
<div class="method">
425425
<a id="Collection::Select()"></a><h3>Select<span class="nb-faded-text">(
426-
\OpenCloud\callable
426+
callable
427427

428428
$testfunc,
429429

@@ -464,8 +464,11 @@ <h4>Description</h4>
464464
</tr></thead>
465465
<tbody><tr>
466466
<td>$testfunc</td>
467-
<td style="white-space: normal;">\OpenCloud\callable</td>
468-
<td><p>a callback function that is passed each item in turn. Note that <code>Select()</code> performs an explicit test for <code>FALSE</code>, so functions like <code>strpos()</code> need to be cast into a boolean value (and not just return the integer).</p>
467+
<td style="white-space: normal;">callable</td>
468+
<td><p>a callback function that is passed each item
469+
in turn. Note that <code>Select()</code> performs an explicit test for
470+
<code>FALSE</code>, so functions like <code>strpos()</code> need to be cast into a
471+
boolean value (and not just return the integer).</p>
469472
</td>
470473
<td></td>
471474
</tr></tbody>
@@ -594,7 +597,8 @@ <h4>Tags</h4>
594597
<tbody>
595598
<tr>
596599
<td>throws</td>
597-
<td>if strict checks are on and the property prefix is not in the list of prefixes.</td>
600+
<td>if strict checks are on and
601+
the property prefix is not in the list of prefixes.</td>
598602
</tr>
599603
<tr>
600604
<td>inherited_from</td>
@@ -766,7 +770,8 @@ <h4>Description</h4>
766770
<td>$itemclass</td>
767771
<td style="white-space: normal;">string</td>
768772
<td><ul>
769-
<li>the Class of each item in the collection (assumed to be the name of the factory method)</li>
773+
<li>the Class of each item in the collection
774+
(assumed to be the name of the factory method)</li>
770775
</ul>
771776
</td>
772777
<td></td>
@@ -907,7 +912,8 @@ <h4>Description</h4>
907912
<tr>
908913
<td>$msg</td>
909914
<td style="white-space: normal;">string</td>
910-
<td><p>The message string (required); can be in sprintf() format.</p>
915+
<td><p>The message string (required); can be in
916+
sprintf() format.</p>
911917
</td>
912918
<td></td>
913919
</tr>
@@ -1148,7 +1154,7 @@ <h4>Properties</h4>
11481154
<div style="clear: both"></div>
11491155
</div>
11501156
</div>
1151-
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a8</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
1157+
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a12</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
11521158
$(function() {
11531159

11541160
var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );

docs/api/compute.inc.html

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ <h4>Description</h4>
310310
<tr>
311311
<td>$parm</td>
312312
<td style="white-space: normal;">array</td>
313-
<td><p>(optional) array of key/value pairs to use as query strings</p>
313+
<td><p>(optional) array of key/value pairs to use as
314+
query strings</p>
314315
</td>
315316
<td>array()</td>
316317
</tr>
@@ -413,7 +414,8 @@ <h4>Description</h4>
413414
<td>$id</td>
414415
<td style="white-space: normal;">string</td>
415416
<td><ul>
416-
<li>if supplied, the Flavor identified by this is retrieved</li>
417+
<li>if supplied, the Flavor identified by this is
418+
retrieved</li>
417419
</ul>
418420
</td>
419421
<td>NULL</td>
@@ -479,7 +481,9 @@ <h4>Description</h4>
479481
<td>$details</td>
480482
<td style="white-space: normal;">boolean</td>
481483
<td><ul>
482-
<li>if TRUE (the default), returns full details. Set to FALSE to retrieve minimal details and possibly improve performance.</li>
484+
<li>if TRUE (the default), returns full details.
485+
Set to FALSE to retrieve minimal details and possibly improve
486+
performance.</li>
483487
</ul>
484488
</td>
485489
<td>TRUE</td>
@@ -488,7 +492,8 @@ <h4>Description</h4>
488492
<td>$filter</td>
489493
<td style="white-space: normal;">array</td>
490494
<td><ul>
491-
<li>optional key/value pairs for creating query strings</li>
495+
<li>optional key/value pairs for creating query
496+
strings</li>
492497
</ul>
493498
</td>
494499
<td>array()</td>
@@ -620,7 +625,8 @@ <h4>Description</h4>
620625
<tbody><tr>
621626
<td>$resource</td>
622627
<td style="white-space: normal;">string</td>
623-
<td><p>The resource requested; should NOT have slashes at the beginning or end</p></td>
628+
<td><p>The resource requested; should NOT have slashes
629+
at the beginning or end</p></td>
624630
<td></td>
625631
</tr></tbody>
626632
</table>
@@ -739,7 +745,9 @@ <h4>Description</h4>
739745
<td>$details</td>
740746
<td style="white-space: normal;">boolean</td>
741747
<td><ul>
742-
<li>if TRUE (the default), returns complete image details. Set to FALSE to improve performance, but only return a minimal set of data</li>
748+
<li>if TRUE (the default), returns complete image
749+
details. Set to FALSE to improve performance, but only return a
750+
minimal set of data</li>
743751
</ul>
744752
</td>
745753
<td>TRUE</td>
@@ -748,7 +756,11 @@ <h4>Description</h4>
748756
<td>$filter</td>
749757
<td style="white-space: normal;">array</td>
750758
<td><ul>
751-
<li>key/value pairs to pass to the images resource. The actual values available here are determined by the OpenStack code and any extensions installed by your cloud provider; see http://docs.rackspace.com/servers/api/v2/cs-devguide/content/List_Images-d1e4435.html for current filters available.</li>
759+
<li>key/value pairs to pass to the images resource.
760+
The actual values available here are determined by the OpenStack
761+
code and any extensions installed by your cloud provider;
762+
see http://docs.rackspace.com/servers/api/v2/cs-devguide/content/List_Images-d1e4435.html
763+
for current filters available.</li>
752764
</ul>
753765
</td>
754766
<td>array()</td>
@@ -1082,7 +1094,8 @@ <h4>Description</h4>
10821094
<td>$headers</td>
10831095
<td style="white-space: normal;">array</td>
10841096
<td><ul>
1085-
<li>an associative array of headers to pass to the request</li>
1097+
<li>an associative array of headers to pass to
1098+
the request</li>
10861099
</ul>
10871100
</td>
10881101
<td>array()</td>
@@ -1215,7 +1228,10 @@ <h4>Description</h4>
12151228
<td>$details</td>
12161229
<td style="white-space: normal;">boolean</td>
12171230
<td><ul>
1218-
<li>if TRUE, full server details are returned; if FALSE, just the minimal set of info is listed. Defaults to TRUE; you might set this to FALSE to improve performance at the risk of not having all the information you need.</li>
1231+
<li>if TRUE, full server details are returned; if
1232+
FALSE, just the minimal set of info is listed. Defaults to TRUE;
1233+
you might set this to FALSE to improve performance at the risk of
1234+
not having all the information you need.</li>
12191235
</ul>
12201236
</td>
12211237
<td>TRUE</td>
@@ -1224,7 +1240,8 @@ <h4>Description</h4>
12241240
<td>$filter</td>
12251241
<td style="white-space: normal;">array</td>
12261242
<td><ul>
1227-
<li>a set of key/value pairs that is passed to the servers list for filtering</li>
1243+
<li>a set of key/value pairs that is passed to the
1244+
servers list for filtering</li>
12281245
</ul>
12291246
</td>
12301247
<td>array()</td>
@@ -1330,7 +1347,8 @@ <h4>Tags</h4>
13301347
<tbody>
13311348
<tr>
13321349
<td>throws</td>
1333-
<td>if strict checks are on and the property prefix is not in the list of prefixes.</td>
1350+
<td>if strict checks are on and
1351+
the property prefix is not in the list of prefixes.</td>
13341352
</tr>
13351353
<tr>
13361354
<td>inherited_from</td>
@@ -1379,15 +1397,18 @@ <h4>Description</h4>
13791397
<td>$resource</td>
13801398
<td style="white-space: normal;">string</td>
13811399
<td><ul>
1382-
<li>an optional child resource. For example, passing 'details' would return .../servers/details. Should <em>not</em> be prefixed with a slash (/).</li>
1400+
<li>an optional child resource. For example,
1401+
passing 'details' would return .../servers/details. Should <em>not</em> be
1402+
prefixed with a slash (/).</li>
13831403
</ul>
13841404
</td>
13851405
<td>'servers'</td>
13861406
</tr>
13871407
<tr>
13881408
<td>$args</td>
13891409
<td style="white-space: normal;">array</td>
1390-
<td><p>(optional) an array of key-value pairs for query strings to append to the URL</p>
1410+
<td><p>(optional) an array of key-value pairs for query
1411+
strings to append to the URL</p>
13911412
</td>
13921413
<td>array()</td>
13931414
</tr>
@@ -1468,7 +1489,8 @@ <h4>Description</h4>
14681489
<td>$serviceName</td>
14691490
<td style="white-space: normal;">string</td>
14701491
<td><ul>
1471-
<li>identifies the name of the service in the catalog</li>
1492+
<li>identifies the name of the service in the
1493+
catalog</li>
14721494
</ul>
14731495
</td>
14741496
<td></td>
@@ -1477,7 +1499,8 @@ <h4>Description</h4>
14771499
<td>$serviceRegion</td>
14781500
<td style="white-space: normal;">string</td>
14791501
<td><ul>
1480-
<li>identifies the region of this Compute service</li>
1502+
<li>identifies the region of this Compute
1503+
service</li>
14811504
</ul>
14821505
</td>
14831506
<td></td>
@@ -1486,7 +1509,8 @@ <h4>Description</h4>
14861509
<td>$urltype</td>
14871510
<td style="white-space: normal;">string</td>
14881511
<td><ul>
1489-
<li>identifies the URL type ("publicURL", "privateURL")</li>
1512+
<li>identifies the URL type ("publicURL",
1513+
"privateURL")</li>
14901514
</ul>
14911515
</td>
14921516
<td></td>
@@ -1628,7 +1652,8 @@ <h4>Description</h4>
16281652
<tr>
16291653
<td>$msg</td>
16301654
<td style="white-space: normal;">string</td>
1631-
<td><p>The message string (required); can be in sprintf() format.</p>
1655+
<td><p>The message string (required); can be in
1656+
sprintf() format.</p>
16321657
</td>
16331658
<td></td>
16341659
</tr>
@@ -1740,7 +1765,8 @@ <h4>Description</h4>
17401765
<tr>
17411766
<td>$type</td>
17421767
<td style="white-space: normal;">string</td>
1743-
<td><p>The OpenStack service type ("compute" or "object-store", for example</p>
1768+
<td><p>The OpenStack service type ("compute" or
1769+
"object-store", for example</p>
17441770
</td>
17451771
<td></td>
17461772
</tr>
@@ -2015,7 +2041,7 @@ <h4>Properties</h4>
20152041
<div style="clear: both"></div>
20162042
</div>
20172043
</div>
2018-
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a8</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
2044+
<small xmlns="" class="footer">Documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor 2.0.0a12</a>.</small></div><div id="index"><div class="padder"><script xmlns="" type="text/javascript">
20192045
$(function() {
20202046

20212047
var is_chrome = /chrome/.test( navigator.userAgent.toLowerCase() );

0 commit comments

Comments
 (0)