Location: PHPKode > scripts > GalleryShuffle > v1.0/php/LANG.php
<?php

/**
* LANG
**/

class LANG 
{
    private static $instance;
	
	public $traduc;
	
	private function __construct($langCode)
	{
		$this->traduc = FUNCTIONS::parseCSV('lang/' . $langCode . '.csv');
	}
	// singleton
    public static function createSingleton($langCode)
    {
        if (!isset(self::$instance)) {
            $class = __CLASS__;
            self::$instance = new $class($langCode);
        }
    }
    public static function getSingleton()
    {
        return self::$instance;
    }
    public function __clone()
    {
        trigger_error('NO CLONE', E_USER_ERROR);
    }
}
	
?>
Return current item: GalleryShuffle