PluginProbe
CSS & JavaScript Toolbox / 8.0.2
CSS & JavaScript Toolbox v8.0.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
css-javascript-toolbox / views / templates / lookup / view.php

view.php in CSS & JavaScript Toolbox 8.0.2, at views/templates/lookup/view.php

64 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @version $ Id; ?FILE_NAME ?DATE ?TIME ?AUTHOR $
4 */
5
6 /**
7 * No direct access.
8 */
9 // No Direct Accesss code
10
11 /**
12 *
13 * DESCRIPTION
14 *
15 * @author ??
16 * @version ??
17 */
18 class CJTTemplatesLookupView extends CJTView {
19
20 /**
21 * put your comment there...
22 *
23 * @var mixed
24 */
25 public $items;
26
27 /**
28 * put your comment there...
29 *
30 */
31 public function display($tpl = null) {
32 // Query templates list.
33 $this->items = $this->getModel()->getItems();
34 // Display the view.
35 echo $this->getTemplate($tpl);
36 }
37
38 /**
39 * put your comment there...
40 *
41 */
42 protected function enqueueScripts() {
43 // Get JQuery.
44 self::useScripts(__CLASS__,
45 'jquery-ui-accordion',
46 'views:templates:lookup:public:js:{CJT_TEMPLATES-}lookup'
47 );
48 }
49
50 /**
51 * put your comment there...
52 *
53 */
54 protected function enqueueStyles() {
55 self::useStyles(__CLASS__,
56 'framework:css:{CJT-}forms',
57 'views:templates:lookup:public:css:{CJT-}lookup'
58 );
59 }
60
61 } // End class.
62
63 // Hookable!!
64 CJTTemplatesLookupView::define('CJTTemplatesLookupView');