PageRenderTime 18ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/core/gui/GuiModule.php

http://zoop.googlecode.com/
PHP | 27 lines | 22 code | 4 blank | 1 comment | 0 complexity | 4c55fbe2f28f37730f28afd8088ba026 MD5 | raw file
 1<?php
 2class GuiModule extends ZoopModule
 3{
 4	static private $sConfig = null;
 5	
 6	protected function init()
 7	{
 8		$this->addClass('Gui');
 9		$this->depend('smarty');
10		// $this->addInclude('utils.php');
11		$this->addClass('GuiSmarty2');
12		$this->addClass('GuiSmarty3');
13		$this->hasConfig = true;
14	}
15	
16	protected function configure()
17	{
18		self::$sConfig = $this->getConfig();
19		
20		$this->depend(self::$sConfig['driver']);
21	}
22	
23	static public function sGetConfig()
24	{
25		return self::$sConfig;
26	}	
27}