# css-javascript-toolbox/12.0.3/views/templates/lookup/view.php

CSS &amp; JavaScript Toolbox, version 12.0.3. 82 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.3/code/views/templates/lookup/view.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.3/raw/views/templates/lookup/view.php
- Modified: 2025-06-24T15:16:12+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/12.0.3/code/views/templates/lookup/view.php#L10-L20`.

```php
<?php
/**
* @version $ Id; ?FILE_NAME ?DATE ?TIME ?AUTHOR $
*/

/**
* No direct access.
*/
// No Direct Accesss code

/**
* 
* DESCRIPTION
* 
* @author ??
* @version ??
*/
class CJTTemplatesLookupView extends CJTView {

    /**
    * put your comment there...
    * 
    * @var mixed
    */
    protected static $displayNames = array
    (

        'css' => 'CSS',

        'javascript' => 'JavaScript',

        'html' => 'HTML',

        'php' => 'PHP',

    );
    
	/**
	* put your comment there...
	* 
	* @var mixed
	*/
	public $items;

	/**
	* put your comment there...
	* 
	*/
	public function display($tpl = null) {
		// Query templates list.
		$this->items = $this->getModel()->getItems();
		// Display the view.
		echo $this->getTemplate($tpl);
	}
	
	/**
	* put your comment there...
	* 
	*/
	protected function enqueueScripts() {
		// Get JQuery.
		self::useScripts(__CLASS__,
			'jquery-ui-tabs',
			'views:templates:lookup:public:js:{CJT_TEMPLATES-}lookup'
		);
	}
	                                                                                                               
	/**
	* put your comment there...
	* 
	*/
	protected function enqueueStyles() {
		self::useStyles(__CLASS__,
			'framework:css:{CJT-}forms',
			'views:templates:lookup:public:css:{CJT-}lookup'
		);
	}
	
} // End class.

// Hookable!!
CJTTemplatesLookupView::define('CJTTemplatesLookupView');
```
