/** * @singleton method used to instantiate class object * @access public * @return EEH_HTML */ public static function instance() { // check if class object is instantiated, and instantiated properly if (!self::$_instance instanceof EEH_HTML) { self::$_instance = new EEH_HTML(); } return self::$_instance; }