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

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

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/code/views/templates/lookup/view.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.2/raw/views/templates/lookup/view.php
- Modified: 2014-05-06T16:47:26+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/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
	*/
	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-accordion',
			'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');
```
