# css-javascript-toolbox/6.0.6/models/extensions.php

CSS &amp; JavaScript Toolbox, version 6.0.6. 25 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.6/code/models/extensions.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.6/raw/models/extensions.php
- Modified: 2013-03-23T22:50:16+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.6/code/models/extensions.php#L10-L20`.

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

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

/**
* 
*/
class CJTExtensionsModel {
	
	/**
	* put your comment there...
	* 
	*/
	public function getListTypeName() {
		// if the search term is for CJT extensions return 'extensions' otherwise return 'plugins'
		$type = (isset($_REQUEST['s']) == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM) ? 'extensions' : 'plugins';
		return $type;
	}
	
} // End class.

```
