WpWodify\Overlord
Overlord Class.
This class serves to oversee all aspects of the implementation. This is the
glue for all of the classes.
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
- // methods
- private void __construct()
- public static Overloard get_instance()
- public Loader get_loader()
- public Overlord set_loader()
- public Overlord define_admin_hooks()
- public Overlord define_public_hooks()
- public Overlord register_settings()
- public Overlord run()
- public void define_admin_menu_hooks()
- public bool admin_enqueue_scripts()
Coverage
Methods | 80% | 8 / 10 |
Lines | 69.77% | 30 / 43 |
Members
protected
- $instance
—
WpWodify\WpWodify\Overlord
Singleton property instance. - $loader
—
WpWodify\WpWodify\Loader
Instance of the loader.
Methods
public
- admin_enqueue_scripts() — Loads admin scripts
- define_admin_hooks() — Defines which class/callbacks are used for admin hook implementations.
- define_public_hooks() — Defines which class/callbacks are used for public hook implementations.
- get_instance() — Gets the singleton instance of self.
- get_loader() — Getter for the loader instance.
- register_settings() — Registers all of the needed settings for the plugin.
- run() — Main entry point.
- set_loader() — Setter for the loader instance.
History
-
2016-01-09T13:06:33-05:00 (commit #af9535b)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
PHPCS cleanup, Adding enqueue script hook implementations, Adding admin_settings page to the pages class, requiring new classes in the main plugin file, Stubbing out base Wordpress function definitions for unit testing, Adding fields class and associated unit test case, Adding settings class and associated unit test case.
-
2016-01-06T13:06:39-05:00 (commit #73fb473)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
more moving things around a little, adding unit testing, fixing a few issues
-
2016-01-06T11:15:28-05:00 (commit #a964adc)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Lots of changes. Finally getting this to a point where it's installable, and displays a settings page. None of it works, but this is a good step in the right direction :)
-
2016-01-06T09:46:52-05:00 (commit #3958f5c)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Updating unit test coverage, adding a design folder for logo stuff, removing legacy code, removing procedural code from code coverage reports, updating composer requirements
-
2015-12-31T10:01:00-05:00 (commit #ef9239c)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Fixing syntax issues, moving test files
-
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)