Full index

Package indexes


a b c h i k l m p r s t _
a
top
Method add_to_menu
KB_Admin::add_to_menu() in kb-admin.php
Add menus and determine the hook.
Method available
PT_Tests::available() in pt-tests.php
Whether this plugin has any Tests.
b
top
Method body
KB_Admin::body() in kb-admin.php
Extend this function to actually display the contents of the page. Should echo the data to be displayed.
Method body
PT_Admin::body() in pt-admin.php
The content of the page. Loads and runs the available tests and displays the results.
Method body_wrapper
KB_Admin::body_wrapper() in kb-admin.php
Output minimal boiler-plate HTML to make the page behave.
Method bulk_actions
PT_Plugin::bulk_actions() in pt-plugin.php
Change the bulk actions behaviour
c
top
Variable $capability
KB_Admin::$capability in kb-admin.php
Capability at which this page can be shown.
Page constants.php
constants.php in constants.php
Page core.php
core.php in core.php
Method current_page
KB_Admin::current_page() in kb-admin.php
Returns true if the current page is the one added by this class.
Method customize_screen
Override to customize the screen--screen options, etc.
h
top
Method help
KB_Admin::help() in kb-admin.php
Override to modify the help message.
Method help
PT_Plugin::help() in pt-plugin.php
Modify the help text for this plugin
Method hook_page
KB_Admin::hook_page() in kb-admin.php
Add a page to be loaded for the specified slug. Do not over-ride.
Method hook_page_title
Set the title of a page defined without any entry in the menu.
i
top
Variable $icon
KB_Admin::$icon in kb-admin.php
Icon to be added in the menu.
Variable $instance
KB_Singleton::$instance in kb-singleton.php
Storing the instance
Method init
PT_Plugin::init() in pt-plugin.php
Run this at the right time
Method init
KB_Admin::init() in kb-admin.php
Wrapper for conditionally loading resources
k
top
Page kb-admin.php
kb-admin.php in kb-admin.php
Page kb-at.php
kb-at.php in kb-at.php
Page kb-cpt.php
kb-cpt.php in kb-cpt.php
Page kb-plugin.php
kb-plugin.php in kb-plugin.php
Page kb-singleton.php
kb-singleton.php in kb-singleton.php
Class KB_Admin
KB_Admin in kb-admin.php
Generic Class that can be extended for creating admin screens for plugins.
Class KB_At
KB_At in kb-at.php
Automates adding functions to actions/filters.
Class KB_Cpt
KB_Cpt in kb-cpt.php
Generic class to handle common CPT functionality.
Class KB_Plugin
KB_Plugin in kb-plugin.php
Base class for plugins.
Class KB_Singleton
KB_Singleton in kb-singleton.php
Singleton abstract class.
l
top
Method links
PT_Tests::links() in pt-tests.php
The link to running a specific set of tests from this plugin.
Method load_resources
Override to load resources as required
Method load_resources
Load scripts and styles required for PressTest
Method load_resources
Conditionally initialize based on page being called.
Method load_tests
PT_Tests::load_tests() in pt-tests.php
Load all available tests into qUnit and phpUnit tests based on file extension.
m
top
Variable $menu_title
KB_Admin::$menu_title in kb-admin.php
Menu title
p
top
Variable $page_title
KB_Admin::$page_title in kb-admin.php
Page title
Variable $page_title
PT_Admin::$page_title in pt-admin.php
Variable $parent
KB_Admin::$parent in kb-admin.php
Parent Menu
Variable $position
KB_Admin::$position in kb-admin.php
Position in the menu
Constant PHPUnit_MAIN_METHOD
PHPUnit_MAIN_METHOD in pt-phpUnit.php
Class PressTest
PressTest in core.php
Attaches functions to all the required actions; singleton.
Page PressTest.php
PressTest.php in PressTest.php
Page pt-admin.php
pt-admin.php in pt-admin.php
Page pt-phpUnit.php
pt-phpUnit.php in pt-phpUnit.php
Page pt-plugin.php
pt-plugin.php in pt-plugin.php
Page pt-tests.php
pt-tests.php in pt-tests.php
Class PT_Admin
PT_Admin in pt-admin.php
Generates the test results page.
Constant PT_ADMIN_URL
PT_ADMIN_URL in constants.php
PressTest Admin Page URL
Constant PT_COL
PT_COL in constants.php
PressTest Column identifier
Constant PT_DIR
PT_DIR in constants.php
Plugin Directory
Constant PT_HOME
PT_HOME in constants.php
Plugin Homepage
Constant PT_IMAGES_URL
PT_IMAGES_URL in constants.php
Images folder
Constant PT_PHPUNIT_DIR
PT_PHPUNIT_DIR in constants.php
phpUnit Directory
Class PT_Plugin
PT_Plugin in pt-plugin.php
The plugin page modifier for PressTest
Constant PT_PLUGINS_SCREEN
PT_PLUGINS_SCREEN in constants.php
PressTest Screen modified
Constant PT_QUNIT_URL
PT_QUNIT_URL in constants.php
qUnit Directory
Constant PT_SCRIPTS_URL
PT_SCRIPTS_URL in constants.php
Scripts folder
Constant PT_SLUG
PT_SLUG in constants.php
PressTest Admin Slug
Constant PT_STYLES_URL
PT_STYLES_URL in constants.php
Styles folder
Class PT_Tests
PT_Tests in pt-tests.php
Tests available for hplugins.
Constant PT_URL
PT_URL in constants.php
Plugin URL
r
top
Method register
KB_Cpt::register() in kb-cpt.php
Method row_meta
PT_Plugin::row_meta() in pt-plugin.php
Modify the meta actions available for the plugin
Method run_tests
PT_Tests::run_tests() in pt-tests.php
Routes function to set up actual markup to display the test.
s
top
Variable $slug
KB_Admin::$slug in kb-admin.php
Store slug used for the page.
Variable $slug
PT_Admin::$slug in pt-admin.php
Page sampleTest.php
sampleTest.php in sampleTest.php
Class SampleTest
SampleTest in sampleTest.php
Sample test for PressTest.
Method setup_tests
PT_Tests::setup_tests() in pt-tests.php
Routes function to set up resources based on test type.
Method set_current_page
Runs only if the page corresponding to this class is called.
Method singleton
KB_Singleton::singleton() in kb-singleton.php
The singleton function must control access
t
top
Method testable
PT_Tests::testable() in pt-tests.php
Whether this plugin has any tests at all.
Method test_correct
SampleTest::test_correct() in sampleTest.php
Method test_incorrect
_
top
Method __construct
PT_Admin::__construct() in pt-admin.php
Method __construct
PT_Plugin::__construct() in pt-plugin.php
Set up hooks for modifying the plugin screen
Method __construct
PT_Tests::__construct() in pt-tests.php
Constructor. Extracts path data.
Method __construct
KB_Singleton::__construct() in kb-singleton.php
The constructor must be hidden.
Method __construct
KB_Plugin::__construct() in kb-plugin.php
Method __construct
KB_Admin::__construct() in kb-admin.php
The constructor, conditionally initializes the requirements for the plugin.
Method __construct
Method __construct
KB_Cpt::__construct() in kb-cpt.php
Constructor -- check if the 'init' action has run and accordingly register the post type.
Method __construct
Initialize the plugin.
a b c h i k l m p r s t _