Login   Register  
PHP Classes
elePHPant
Icontem

File: StormAPI.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jason Gillman Jr.  >  StormOnDemand API  >  StormAPI.class.php  
File: StormAPI.class.php
Role: Class source
Content type: text/plain
Description: StormOnDemand API Class
Class: StormOnDemand API
Manage hosting services using Storm On Demand API
Author: By
Last change: Composer tweak and added the LiquidWeb namespace
Added CURLOPT_SSL_VERIFYHOST
listMethods() now static with an instantiated wrapper
Created a static version of listMethodParams which has an instantiated
wrapper for it
*StormApi.class.php
- Added storeRequest()
- Added returnRequests()
- Added listRequestKeys()
- Added removeRequest()

* Updated README.md to account for these new methods
Adjusted the request() method to account for $this->apiRequestBody['params'] being set, but not having an actual params.

This allows things to work with the new bulkParams() change.
Adjusted if statement format per merge comment
cleared out some commented variables
don't clear params when using bulkParam
removed some duplicated code
added method visibility
removed closing ?> tag to conform with PSR-2 standards and to avoid whitespace issues
* Fixed cleanArrayDisp() method
** $displayString was just appending data everytime the function was
called since it is a static property. Fixed this.
Added the cleanArrayDisp() method.

Updated README.md to account for this.
Fixed listMethodParams() to account for 'optional' being set, but having
a value of 0
Parameters can be passed upon object instantiation if desired
Changed to Apache 2.0 License

Added bulkParams() method

Updated README.md
StormAPI.class.php
- Slight tweak on listParams() method to mitigate errors if no params

examples/StormInteractive.php
- Added functionality to remove individual params
Should be $this->clearParams() not clearParams()
Date: 2 months ago
Size: 15,840 bytes

You need to be a registered user and login to get this file.

1,273,562 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

Facebook ConnectGmail or other Google AccountHotmail or Microsoft Windows LiveStackOverflowGitHubYahoo