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

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

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/6.1.3/code/models/extensions.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/6.1.3/raw/models/extensions.php
- Modified: 2013-04-23T23:07:56+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.1.3/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']) && ($_REQUEST['s'] == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM)) ? 'extensions' : 'plugins';
		return $type;
	}
	
} // End class.

```
