public static function getRootSetting($rootPid = null)
    {
        static $ret = null;

        if ($ret !== null) {
            return $ret;
        }

        if ($rootPid === null) {
            $rootPid = self::getRootPid();
        }

        $query = 'SELECT *
                    FROM tx_metaseo_setting_root
                   WHERE pid = ' . (int)$rootPid . '
                     AND deleted = 0
                   LIMIT 1';
        $ret   = DatabaseUtility::getRow($query);

        return $ret;
    }