PluginProbe
CSS & JavaScript Toolbox / 9.0
CSS & JavaScript Toolbox v9.0
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 / blocks / revisions / view.php

view.php in CSS & JavaScript Toolbox 9.0, at views/blocks/revisions/view.php

67 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @version view.php
4 */
5
6 /**
7 * No direct access.
8 */
9 defined('ABSPATH') or die("Access denied");
10
11 /**
12 * Blocks view.
13 */
14 class CJTBlocksRevisionsView extends CJTView {
15
16 /**
17 * put your comment there...
18 *
19 * @var mixed
20 */
21 public $blockId = null;
22
23 /**
24 * put your comment there...
25 *
26 * @var mixed
27 */
28 public $revisions = array();
29
30 /**
31 * Output JavaScript files requirred to Add-New-Block view to run.
32 *
33 * @return void
34 */
35 public function enququeScripts() {
36 // Use related scripts.
37 self::useScripts(__CLASS__,
38 'jquery',
39 'views:blocks:revisions:public:js:{CJT-}revisions'
40 );
41 }
42
43 /**
44 * Output CSS files required to Add-New-Block view.
45 *
46 * @return void
47 */
48 public function enququeStyles() {
49 // Use related styles.
50 self::useStyles(__CLASS__,
51 'framework:css:forms'
52 );
53 }
54
55 /**
56 * put your comment there...
57 *
58 */
59 public function display() {
60 // Display view.
61 echo $this->getTemplate('default');
62 }
63
64 } // End class.
65
66 // Hookable!!
67 CJTBlocksRevisionsView::define('CJTBlocksRevisionsView');