ext/bestitamazonpay4oxid_oxviewconfig.php
public function setJSCodeInjected($sType)
    {
        $aCodeInjected = $this->_getInjectedCode();
        $aCodeInjected[$sType] = true;
        $this->_getContainer()->getUtils()->toStaticCache(self::CODE_INJECTED_STATIC_CACHE_KEY, $aCodeInjected);
    }
public function setJSCodeInjected($sType)
    {
        $aCodeInjected = $this->_getInjectedCode();
        $aCodeInjected[$sType] = true;
        $this->_getContainer()->getUtils()->toStaticCache(self::CODE_INJECTED_STATIC_CACHE_KEY, $aCodeInjected);
    }
public function setJSCodeInjected ( $ sType ) { $ aCodeInjected = $ this -> _getInjectedCode ( ) ; $ aCodeInjected [ $ sType ] = true ; $ this -> _getContainer ( ) -> getUtils ( ) -> toStaticCache ( self :: CODE_INJECTED_STATIC_CACHE_KEY , $ aCodeInjected ) ; }
Marks the type as already injected.

@param $sType

@throws oxSystemComponentException
Marks the type as already injected .