/framework/core/gui/GuiModule.php
http://zoop.googlecode.com/ · PHP · 27 lines · 22 code · 4 blank · 1 comment · 0 complexity · 4c55fbe2f28f37730f28afd8088ba026 MD5 · raw file
- <?php
- class GuiModule extends ZoopModule
- {
- static private $sConfig = null;
-
- protected function init()
- {
- $this->addClass('Gui');
- $this->depend('smarty');
- // $this->addInclude('utils.php');
- $this->addClass('GuiSmarty2');
- $this->addClass('GuiSmarty3');
- $this->hasConfig = true;
- }
-
- protected function configure()
- {
- self::$sConfig = $this->getConfig();
-
- $this->depend(self::$sConfig['driver']);
- }
-
- static public function sGetConfig()
- {
- return self::$sConfig;
- }
- }