getCategoryService example

class PluginManager extends Shopware_Controllers_Backend_ExtJs
{
    public const FALLBACK_LOCALE = 'en_GB';

    /** * @return void */
    public function preDispatch()
    {
        if (strtolower($this->Request()->getActionName()) === 'index' && $this->checkStoreApi()) {
            $this->getCategoryService()->synchronize();
        }
        parent::preDispatch();
    }

    /** * @return void */
    public function metaDownloadAction()
    {
        try {
            $request = new MetaRequest(
                
Home | Imprint | This part of the site doesn't use cookies.