configureQuery example

'coreConfigForms',
                'coreConfigElements.form_id = coreConfigForms.id'
            )
            ->innerJoin(
                'coreConfigForms',
                's_core_plugins',
                'corePlugins',
                'coreConfigForms.plugin_id = corePlugins.id'
            )
        ;

        $builder = $this->configureQuery($builder$shopId$pluginName);

        $values = $builder->select([
                'coreConfigElements.name',
                'coreConfigValues.value',
            ])
            ->execute()
            ->fetchAll(PDO::FETCH_KEY_PAIR)
        ;

        return $this->mergeValues($this->getParent()->readValues($pluginName$shopId)$this->unserializeArray($values));
    }

    
Home | Imprint | This part of the site doesn't use cookies.