-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backwards incompatible refactor and restructure, composer, namespace #2
base: master
Are you sure you want to change the base?
Commits on Jun 19, 2015
-
Added .gitignore file to ignore PhpStorm project files.
Cleaned up formatting of VoteSmart class.
Configuration menu - View commit details
-
Copy full SHA for 7fc55bf - Browse repository at this point
Copy the full SHA 7fc55bfView commit details
Commits on Jun 20, 2015
-
Refactored VoteSmart object, removed dependency on config.php.
The major change here is that you can no longer query directly from the constructor. The constructor now takes in 2 parameters: 1.) the output type, with a default of 'XML' 2.) the location in the global $_ENV array where to check for the API token supplied by VoteSmart is stored, with a default of 'VOTESMART_API_KEY' You can also set these directly using the methods setOutputType(), setEnvKey() and setApiToken().
Configuration menu - View commit details
-
Copy full SHA for c1e188c - Browse repository at this point
Copy the full SHA c1e188cView commit details -
Updated the README with updated information. This refactor is not bac…
…kwards compatible.
Configuration menu - View commit details
-
Copy full SHA for 2f5bcb8 - Browse repository at this point
Copy the full SHA 2f5bcb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3315b9a - Browse repository at this point
Copy the full SHA 3315b9aView commit details -
Added basic JSON functionality. You can now pass in 'JSON' as a valid…
… outputType. Updated the README to contain more useful information.
Configuration menu - View commit details
-
Copy full SHA for b886346 - Browse repository at this point
Copy the full SHA b886346View commit details -
Merge pull request #1 from ozzyogkush/feature/remove-need-for-config-…
…file Backwards incompatible refactor and restructure
Configuration menu - View commit details
-
Copy full SHA for 22596b4 - Browse repository at this point
Copy the full SHA 22596b4View commit details -
Refactored VoteSmart class by renaming it Api, and giving it a namesp…
…ace of VoteSmart. Moved Api class to src directory Created composer.json file and composer.lock files Updated .gitignore to ignore Composer created vendor directory
Configuration menu - View commit details
-
Copy full SHA for 43ddc91 - Browse repository at this point
Copy the full SHA 43ddc91View commit details -
Merge pull request #2 from ozzyogkush/feature/setup-composer
Set up as composer package, set up namespace and rename primary class
Configuration menu - View commit details
-
Copy full SHA for dba32bc - Browse repository at this point
Copy the full SHA dba32bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69bf2d0 - Browse repository at this point
Copy the full SHA 69bf2d0View commit details