function GetPhreezer()
	{
		if ($this->phreezer == null)
		{
			if (self::$DEBUG_MODE)
			{
				require_once("verysimple/Phreeze/ObserveToSmarty.php");
				$observer = new ObserveToSmarty($this->GetRenderEngine());
				$this->phreezer = new Phreezer(self::$CONNECTION_SETTING, $observer);
			}
			else
			{
				$this->phreezer = new Phreezer(self::$CONNECTION_SETTING);
			}

			if (self::$LEVEL_2_CACHE)
			{
				$this->phreezer->SetLevel2CacheProvider( self::$LEVEL_2_CACHE, SELF::LEVEL_2_CACHE_TEMP_PATH );
				$this->phreezer->ValueCacheTimeout = self::$LEVEL_2_CACHE_TIMEOUT;
			}
		}

		return $this->phreezer;
	}
function GetPhreezer()
	{
		if ($this->phreezer == null)
		{
			if (self::$DEBUG_MODE)
			{
				require_once("verysimple/Phreeze/ObserveToSmarty.php");
				$observer = new ObserveToSmarty($this->GetRenderEngine());
				$this->phreezer = new Phreezer(self::$CONNECTION_SETTING, $observer);
			}
			else
			{
				$this->phreezer = new Phreezer(self::$CONNECTION_SETTING);
			}

			if (self::$LEVEL_2_CACHE)
			{
				$this->phreezer->SetLevel2CacheProvider( self::$LEVEL_2_CACHE, SELF::LEVEL_2_CACHE_TEMP_PATH );
				$this->phreezer->ValueCacheTimeout = self::$LEVEL_2_CACHE_TIMEOUT;
			}
		}

		return $this->phreezer;
	}
function GetPhreezer ( ) { if ( $ this -> phreezer == null ) { if ( self :: $ DEBUG_MODE ) { require_once ( "verysimple/Phreeze/ObserveToSmarty.php" ) ; $ observer = new ObserveToSmarty ( $ this -> GetRenderEngine ( ) ) ; $ this -> phreezer = new Phreezer ( self :: $ CONNECTION_SETTING , $ observer ) ; } else { $ this -> phreezer = new Phreezer ( self :: $ CONNECTION_SETTING ) ; } if ( self :: $ LEVEL_2_CACHE ) { $ this -> phreezer -> SetLevel2CacheProvider ( self :: $ LEVEL_2_CACHE , SELF :: LEVEL_2_CACHE_TEMP_PATH ) ; $ this -> phreezer -> ValueCacheTimeout = self :: $ LEVEL_2_CACHE_TIMEOUT ; } } return $ this -> phreezer ; }
Returns the Phreezer persistance layer
@return Phreezer
Returns the Phreezer persistance layer