# css-javascript-toolbox/6.0.11/framework/access-points/page.class.php

CSS &amp; JavaScript Toolbox, version 6.0.11. 38 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.11/code/framework/access-points/page.class.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.11/raw/framework/access-points/page.class.php
- Modified: 2013-03-17T20:09:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.11/code/framework/access-points/page.class.php#L10-L20`.

```php
<?php
/**
* 
*/

// Disallow direct access.
defined('ABSPATH') or die("Access denied");

/**
* 
*/
abstract class CJTPageAccessPoint extends CJTAccessPoint {
	
	/**
	* put your comment there...
	* 
	*/
	public function getPage() {
		// If not installed always run the installer.
		if (!CJTPlugin::getInstance()->isInstalled()) {
			$installedAccessPoint =CJTPlugin::getInstance()->getAccessPoint('installer');
			// Redirect menu call back to the installer access point!
			$this->controller = $installedAccessPoint->installationPage();
			// Stop not installed admin notice!
			$installedAccessPoint->stopNotices();
		}
		else { // If installed work like a pages proxy!
			// Set as the connected object!
			$this->connected();
			// Process the request!
			$this->route();
		}
	}
	
} // End class.

// Hookable!
CJTPageAccessPoint::define('CJTPageAccessPoint', array('hookType' => CJTWordpressEvents::HOOK_FILTER));
```
