/** * retrieve class instance * @return <type> */ static function get_instance() { if (!self::$s_template) { self::$s_template = new Template(); } return self::$s_template; }