File/constants.php

Description

Define universal constants.

Constants
PT_ADMIN_DIR = ABSPATH.'wp-admin' (line 63)

Admin path

PT_ADMIN_INCLUDES_DIR = PT_ADMIN_DIR.'/includes' (line 66)

Admin includes path

PT_ADMIN_URL = get_admin_url().'admin.php?page='.PT_SLUG (line 42)

PressTest Admin Page URL

PT_COL = 'pt_tests' (line 48)

PressTest Column identifier

PT_DIR = WP_PLUGIN_DIR.'/'.PT_FOLDER (line 12)

Plugin Directory

PT_FILE = PT_FOLDER.'/PressTest.php' (line 15)

Hand written basename to avoid soft linking issues

PT_FOLDER = 'presstest' (line 9)

Plugin Folder

PT_HOME = 'http://github.com/kunalb/PressTest/' (line 36)

Plugin Homepage

PT_IMAGES_URL = PT_URL.'/resources/images' (line 27)

Images folder

PT_MOCK_DIR = PT_DIR.'/mocked' (line 51)

The directory for mocked files.

PT_MOCK_PLUGIN_DIR = PT_MOCK_DIR.'/plugins' (line 57)

The directory for mocked plugin files.

PT_MOCK_THEME_DIR = PT_MOCK_DIR.'/themes' (line 54)

The directory for mocked theme files.

PT_NEEDS_PERMISSION = 'PT_Needs_Permission' (line 60)

The option indicating that the presstest folder should be writeable.

PT_PHPUNIT_DIR = PT_DIR.'/phpunit/phpunit' (line 18)

phpUnit Directory

PT_PLUGINS_SCREEN = 'plugins' (line 45)

PressTest Screen modified

PT_QUNIT_URL = PT_URL.'/qunit/qunit' (line 24)

qUnit Directory

PT_SCRIPTS_URL = PT_URL.'/resources/scripts' (line 30)

Scripts folder

PT_SLUG = 'presstest' (line 39)

PressTest Admin Slug

PT_STYLES_URL = PT_URL.'/resources/styles' (line 33)

Styles folder

PT_URL = plugins_url('presstest') (line 21)

Plugin URL

Documentation generated on Thu, 29 Sep 2011 01:44:45 +0530 by phpDocumentor 1.4.3