WpWodify\Data
Data Class
Encapsulation of all Wodify Data (coaches, classes, etc)
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
- // methods
- public Data set_api()
- public Api get_api()
- public Data set_cache()
- public Cache get_cache()
- public array get()
Coverage
Methods | 100% | 5 / 5 |
Lines | 100% | 16 / 16 |
Members
protected
- $api
—
WpWodify\WpWodify\Api
Store an instance of the API to communicate to the api with. - $cache
—
WpWodify\WpWodify\Cache
Stores an instance of the Cache class.
Methods
public
- get() — Generic data get method.
- get_api() — Getter for the api property.
- get_cache() — Getter for the cache property.
- set_api() — Setter for the api property.
- set_cache() — Setter for the cache property.
History
-
2016-01-05T15:09:38-05:00 (commit #3d9ab65)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Provisional commit. Adding unit tests, updating existing unit tests. Starting to use the main plugin file to load new code, instead of prototype code
-
2015-12-31T05:49:44-05:00 (commit #307c02c)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Moving classes around to conform with WP coding standards regarding the naming convention of class files
-
2015-12-31T05:47:14-05:00 (commit #43a6d30)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Adding an Overlord (to rule all things), and a loader class. Also introducting an installer class. Updating other code to conform to WP coding standards (which, I personally don't agree with, but hey, whatevs)
-
2015-12-31T05:01:32-05:00 (commit #dc865c1)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Wordpress coding standards updates. Changing the base class for exceptions to ErrorException
-
2015-12-30T17:20:06-05:00 (commit #4e6c550)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
First commit of the major rewrite. Changing to a composer-type package setup. Will be much more OO oriented