/** * There should only be one copy of document running at page load. * * @since 1.0 * @access public */ public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }
/** * There should only be one copy of document running at page load. * * @since 1.0 * @access public */ public static function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }