PluginProbe
CSS & JavaScript Toolbox / 11
CSS & JavaScript Toolbox v11
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 / backups / manager / view.php

view.php in CSS & JavaScript Toolbox 11, at views/backups/manager/view.php

79 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @version $ Id; view.php 21-03-2012 03:22:10 Ahmed Said $
4 */
5
6 // Disallow direct access.
7 defined('ABSPATH') or die("Access denied");
8
9 /**
10 *
11 *
12 * The method is resposible for selecting the correct template
13 * and initialize template vars.
14 *
15 * @author Ahmed Said
16 * @version 6
17 */
18 class CJTBackupsManagerView extends CJTView {
19
20 /**
21 * put your comment there...
22 *
23 * @var mixed
24 */
25 public $backups = array();
26
27 /**
28 * put your comment there...
29 *
30 * @var mixed
31 */
32 public $controllerName = '';
33
34 /**
35 * put your comment there...
36 *
37 * @var mixed
38 */
39 public $currentBackup = null;
40
41 /**
42 * Output Add New Block markups.
43 *
44 * @return void
45 */
46 public function display() {
47 echo $this->getTemplate('default');
48 }
49
50 /**
51 * Output JavaScript files requirred to Backups view to run.
52 *
53 * @return void
54 */
55 public static function enququeScripts() {
56 // Import all required JavaScript with localization.
57 self::useScripts(__CLASS__,
58 'jquery',
59 'framework:js:ui:{CJT-}jquery.link-progress',
60 'views:backups:manager:public:js:{CJT-}backups'
61 );
62 }
63
64 /**
65 * Output CSS files required to Backups view.
66 *
67 * @return void
68 */
69 public static function enququeStyles() {
70 self::useStyles(__CLASS__,
71 'framework:css:{CJT-}forms',
72 'views:backups:manager:public:css:{CJT-}backups'
73 );
74 }
75
76 } // End class.
77
78 // Hookable!!
79 CJTBackupsManagerView::define('CJTBackupsManagerView');