Changeset 16010 for extensions/ColorStat/cstat_root.class.inc.php
- Timestamp:
- Jun 24, 2012, 9:16:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ColorStat/cstat_root.class.inc.php
r15350 r16010 20 20 include_once('cstat_colorstat.class.inc.php'); 21 21 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); 22 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCCss.class.inc.php');23 22 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCAjax.class.inc.php'); 24 23 … … 30 29 static public $colorTableSize=Array('small' => Array(30,20), 'large' => Array(10,10)); 31 30 32 protected $css; //the css object33 34 31 public function __construct($prefixeTable, $filelocation) 35 32 { … … 40 37 41 38 $this->setTablesList(self::$pluginTables); 42 43 44 $this->css = new GPCCss(dirname($this->getFileLocation()).'/'.$this->getPluginNameFiles().".css");45 }46 47 public function __destruct()48 {49 unset($this->css);50 parent::__destruct();51 }52 53 public function initEvents()54 {55 parent::initEvents();56 add_event_handler('blockmanager_register_blocks', array(&$this, 'register_blocks') );57 }58 59 /*60 menu block management61 */62 public function register_blocks()63 {64 39 } 65 40
Note: See TracChangeset
for help on using the changeset viewer.