Classes/Utility/GeneralUtility.php
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;
    }
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;
    }
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 ; }
Get root setting row

@param   integer $rootPid Root Page Id

@return  array
Get root setting row