'en_US', 'direction' => 'ltr', 'charset' => 'utf-8'); /** * CSS stylesheet to link to * @var string */ private $stylesheet; // ################################################################### /** * Constructor (private) */ private function __construct() {} // ################################################################### /** * Returns the singleton instance * * @return BSPrinter Singleton instance */ public static function _Instance() { if (!self::$instance) { self::$instance = new BSPrinter(); } return self::$instance; } // ################################################################### /** * Returns the language array * * @return array Language array */ public static function GetLanguageInformation() { return self::_Instance()->language; } // ################################################################### /** * Sets the language array information * * @param array Language array */ public static function SetLanguageInformation($lang) { self::_Instance()->language = $lang; } // ################################################################### /** * Returns the stylesheet URL * * @return string Stylesheet link */ public static function GetStylesheet() { return self::_Instance()->stylesheet; } // ################################################################### /** * Sets the path to the CSS style sheet * * @param string Path */ public static function SetStylesheet($stylesheet) { self::_Instance()->stylesheet = $stylesheet; } } /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>