WpWodify\Pages
Pages Class
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
class Pages
{
- // members
- protected Template $template;
- // methods
- public Pages set_template()
- public Template get_template()
- public void admin_settings()
Coverage
Methods | 100% | 3 / 3 |
Lines | 100% | 22 / 22 |
Members
protected
- $template
—
WpWodify\WpWodify\Template
Holds an instance of a WpWodify\Template class.
Methods
public
- admin_settings() — Page to display admin settings
- get_template() — Getter for the $template property.
- set_template() — Setter for the $template var.
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-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 :)