disableControllerCache example

$httpCache->enableControllerCache($cacheTime$cacheIds);
        }
    }

    /** * Helper function to disable the http cache for a single shopware controller */
    public function disableControllerCache()
    {
        $httpCache = $this->HttpCache();
        if ($httpCache) {
            $httpCache->disableControllerCache();
        }
    }

    /** * Creates a new component which can be used in the backend emotion * module. * options { * string name Required; Logical name of the component * string template Required; Template class name which will be loaded in the frontend * string xType Required; Ext JS xtype for the backend module component * string cls Optional; $cls Css class which used in the frontend emotion * string convertFunction Optional; Data convert function which allows to convert the saved backend data * string description optional; Description field for the component, which displayed in the backend module. * } * * @param array{name: string, template: string, xType: string, cls?: string, convertFunction?: string, description?: string} $options * * @return Component */
Home | Imprint | This part of the site doesn't use cookies.