public function getConfigValue($moduleId, $variableName, $defaultValue = null, $valueLocale = null)
    {
        $value = null;

        $configValue = self::create()
            ->filterByModuleId($moduleId)
            ->filterByName($variableName)
            ->findOne();
        ;

        if (null !== $configValue) {
            if (null !== $valueLocale) {
                $configValue->setLocale($valueLocale);
            }

            $value = $configValue->getValue();
        }

        return $value === null ? $defaultValue : $value;
    }