lib/ezutils/classes/ezhttptool.php
static function instance()
    {
        if ( !isset( $GLOBALS["eZHTTPToolInstance"] ) ||
             !( $GLOBALS["eZHTTPToolInstance"] instanceof eZHTTPTool ) )
        {
            $GLOBALS["eZHTTPToolInstance"] = new eZHTTPTool();
            $GLOBALS["eZHTTPToolInstance"]->createPostVarsFromImageButtons();
        }

        return $GLOBALS["eZHTTPToolInstance"];
    }
static function instance()
    {
        if ( !isset( $GLOBALS["eZHTTPToolInstance"] ) ||
             !( $GLOBALS["eZHTTPToolInstance"] instanceof eZHTTPTool ) )
        {
            $GLOBALS["eZHTTPToolInstance"] = new eZHTTPTool();
            $GLOBALS["eZHTTPToolInstance"]->createPostVarsFromImageButtons();
        }

        return $GLOBALS["eZHTTPToolInstance"];
    }
static function instance ( ) { if ( ! isset ( $ GLOBALS [ "eZHTTPToolInstance" ] ) || ! ( $ GLOBALS [ "eZHTTPToolInstance" ] instanceof eZHTTPTool ) ) { $ GLOBALS [ "eZHTTPToolInstance" ] = new eZHTTPTool ( ) ; $ GLOBALS [ "eZHTTPToolInstance" ] -> createPostVarsFromImageButtons ( ) ; } return $ GLOBALS [ "eZHTTPToolInstance" ] ; }
Return a unique instance of the eZHTTPTool class

@return eZHTTPTool
Return a unique instance of the eZHTTPTool class