/** * instance singleton * @access public */ private static function getInstance() { if (!isset(self::$instance)) { if (is_null(self::$instance)) { self::$instance = new helpers_headScript(); } } return self::$instance; }