# css-javascript-toolbox/11/controllers/default.php

CSS &amp; JavaScript Toolbox, version 11. 50 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/11/code/controllers/default.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/11/raw/controllers/default.php
- Modified: 2020-10-30T11:39: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/11/code/controllers/default.php#L10-L20`.

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

/**
* The controller is the future controller that
* will be used when there is no action neeeded
* to be talked when outputs the view!
* 
* @author CJT Team
* @since version 6.0
*/
class CJTDefaultController extends CJTController {

	/**
	* put your comment there...
	* 
	*/
	public function dashboardMetaboxAction() {
		// Create View.
		$view = CJTView::getInstance('dashboard/metabox/statistics');
		$view->display('default');
	}

	/**
	* put your comment there...
	* 
	*/
	public function displayAction() {
		echo parent::displayAction();
	}
	
	/**
	* Uninstall CJT Plugin
	* installaion flags, setup-flags
	* and user data!
	* 
	* @return void
	*/
	public function uninstallAction() {
		// Initializing!
		$model =& CJTModel::getInstance('uninstall');
		// Uninstall everything!
		$model->expressUninstall();
	}
	
} // End class.

```
