# css-javascript-toolbox/8.0.2/views/packages/install/view.php

CSS &amp; JavaScript Toolbox, version 8.0.2. 91 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/code/views/packages/install/view.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/raw/views/packages/install/view.php
- Modified: 2014-10-17T19:05:50+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/8.0.2/code/views/packages/install/view.php#L10-L20`.

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

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

/**
* 
*/
class CJTPackagesInstallView extends CJTView {
	
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $moduleParamName;
	
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $uploaderModuleName;

	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $uploaderActionName;
	
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	protected $uploaderControllerName;
	
	/**
	* put your comment there...
	* 
	* @param mixed $tpl
	*/
	public function display($tpl = null) {
		// Get uploader parameters.
		$this->uploaderControllerName = $this->getRequestParameter('uploaderControllerName');
		$this->uploaderActionName = $this->getRequestParameter('uploaderActionName');
		$this->uploaderModuleName = $this->getRequestParameter('uploaderModuleName');
		$this->moduleParamName = 'cjtajaxmodule';
		// Display form.
		echo $this->getTemplate($tpl);
	}
	
	/**
	* Output Javascript files requirred to Add-New-Block view to run.
	* 
	* @return void
	*/
	public function enququeScripts() {
		// Use related scripts.
		self::useScripts(__CLASS__, 
			'jquery',
			'thickbox',
			'jquery-serialize-object',
			'framework:js:misc:{CJT-}simple-error-dialog',
			'views:packages:install:public:js:{CJT-}install'
		);
	}
	
	/**
	* Output CSS files required to Add-New-Block view.
	* 
	* @return void
	*/
	public function enququeStyles() {
		// Use related styles.
		self::useStyles(__CLASS__,
			'thickbox',
			'framework:css:{CJT-}forms',
			'framework:css:{CJT-}error-dialog',
			'views:packages:install:public:css:{CJT-}install'
		);
	}
	
} // End class.

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