You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.textile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ h2. Usage
28
28
29
29
These examples use the SoftLayer_SoapClient class. If you wish to use the XML-RPC API then replace mentions of SoapClient.class.php with XmlrpcClient.class.php and SoftLayer_SoapClient with SoftLayer_XmlrpcClient.
30
30
31
-
Here's a simple usage example that retrieves account information by calling the "getObject()":http://sldn.softlayer.com/wiki/index.php/SoftLayer_Account::getObject method in the "SoftLayer_Account":http://sldn.softlayer.com/wiki/index.php/SoftLayer_Account service:
31
+
Here's a simple usage example that retrieves account information by calling the "getObject()":http://sldn.softlayer.com/reference/services/SoftLayer_Account/getObject method in the "SoftLayer_Account":http://sldn.softlayer.com/reference/services/SoftLayer_Account service:
* @link http://sldn.softlayer.com/article/The_SoftLayer_API The SoftLayer API
62
62
* @see SoftLayer_SoapClient_AsynchronousAction
63
63
*/
64
64
class Softlayer_SoapClient extends SoapClient
@@ -129,7 +129,7 @@ class Softlayer_SoapClient extends SoapClient
129
129
/**
130
130
* The name of the SoftLayer API service you wish to query.
131
131
*
132
-
* @link http://sldn.softlayer.com/wiki/index.php/Category:API_Services A list of SoftLayer API services
132
+
* @link http://sldn.softlayer.com/reference/services A list of SoftLayer API services
133
133
* @var string
134
134
*/
135
135
protected$_serviceName;
@@ -356,7 +356,7 @@ public function setAuthentication($username, $apiKey)
356
356
* 1234 in the SoftLayer_Hardware_Server Service instructs the API to act on
357
357
* server record 1234 in your method calls.
358
358
*
359
-
* @link http://sldn.softlayer.com/wiki/index.php/Using_Initialization_Parameters_in_the_SoftLayer_API Using Initialization Parameters in the SoftLayer API
359
+
* @link http://sldn.softlayer.com/article/Using_Initialization_Parameters_in_the_SoftLayer_API Using Initialization Parameters in the SoftLayer API
360
360
* @param int $id The ID number of the SoftLayer API object you wish to instantiate.
361
361
* @return SoftLayer_SoapClient
362
362
*/
@@ -409,8 +409,7 @@ public function setObjectMask($mask)
409
409
* support a way to limit the number of results retrieved from the SoftLayer
410
410
* API in a way akin to an SQL LIMIT statement.
411
411
*
412
-
* @link http://sldn.softlayer.com/wiki/index.php/Using_Result_Limits_in_the_SoftLayer_API Using Result Limits in the SoftLayer API
413
-
* @link http://sldn.softlayer.com/wiki/index.php/Category:API_methods_that_can_use_result_limits API methods that can use result limits
412
+
* @link http://sldn.softlayer.com/article/Using_Result_Limits_in_the_SoftLayer_API Using Result Limits in the SoftLayer API
414
413
* @param int $limit The number of results to limit your SoftLayer API call to.
415
414
* @param int $offset An optional offset to begin your SoftLayer API call's returned result set at.
* @link http://sldn.softlayer.com/article/The_SoftLayer_API The SoftLayer API
56
56
*/
57
57
class Softlayer_XmlrpcClient
58
58
{
@@ -104,7 +104,7 @@ class Softlayer_XmlrpcClient
104
104
/**
105
105
* The name of the SoftLayer API service you wish to query.
106
106
*
107
-
* @link http://sldn.softlayer.com/wiki/index.php/Category:API_Services A list of SoftLayer API services
107
+
* @link http://sldn.softlayer.com/reference/services A list of SoftLayer API services
108
108
* @var string
109
109
*/
110
110
protected$_serviceName;
@@ -302,7 +302,7 @@ public function setAuthentication($username, $apiKey)
302
302
* 1234 in the SoftLayer_Hardware_Server Service instructs the API to act on
303
303
* server record 1234 in your method calls.
304
304
*
305
-
* @link http://sldn.softlayer.com/wiki/index.php/Using_Initialization_Parameters_in_the_SoftLayer_API Using Initialization Parameters in the SoftLayer API
305
+
* @link http://sldn.softlayer.com/article/Using_Initialization_Parameters_in_the_SoftLayer_API Using Initialization Parameters in the SoftLayer API
306
306
* @param int $id The ID number of the SoftLayer API object you wish to instantiate.
307
307
* @return SoftLayer_XmlrpcClient
308
308
*/
@@ -323,26 +323,26 @@ public function setInitParameter($id)
323
323
* Set an object mask to a SoftLayer API call
324
324
*
325
325
* Use an object mask to retrieve data related your API call's result.
326
-
* Object masks are skeleton objects that define nested relational
326
+
* Object masks are skeleton objects or strings that define nested relational
327
327
* properties to retrieve along with an object's local properties.
328
328
*
329
329
* @see SoftLayer_ObjectMask
330
-
* @link http://sldn.softlayer.com/wiki/index.php/Using_Object_Masks_in_the_SoftLayer_API Using object masks in the SoftLayer API
331
-
* @link http://sldn.softlayer.com/wiki/index.php/Category:API_methods_that_can_use_object_masks API methods that can use object masks
330
+
* @link http://sldn.softlayer.com/article/Using-Object-Masks-SoftLayer-API Using object masks in the SoftLayer API
332
331
* @param object $mask The object mask you wish to define
333
-
* @return SoftLayer_XmlrpcClient
332
+
* @return SoftLayer_SoapClient
334
333
*/
335
334
publicfunctionsetObjectMask($mask)
336
335
{
337
336
if (!is_null($mask)) {
338
-
if (!($maskinstanceof SoftLayer_ObjectMask)) {
339
-
thrownewException('Please provide a SoftLayer_ObjectMask to define an object mask.');
0 commit comments