public static function setUpdaterOptionsFromUrl()
    {
        $options = array(
            'loc'    => Common::getRequestVar('loc_db', false, 'string'),
            'isp'    => Common::getRequestVar('isp_db', false, 'string'),
            'org'    => Common::getRequestVar('org_db', false, 'string'),
            'period' => Common::getRequestVar('period', false, 'string'),
        );

        foreach (self::$urlOptions as $optionKey => $optionName) {
            $options[$optionKey] = Common::unsanitizeInputValue($options[$optionKey]); // URLs should not be sanitized
        }

        self::setUpdaterOptions($options);
    }
public static function setUpdaterOptionsFromUrl()
    {
        $options = array(
            'loc'    => Common::getRequestVar('loc_db', false, 'string'),
            'isp'    => Common::getRequestVar('isp_db', false, 'string'),
            'org'    => Common::getRequestVar('org_db', false, 'string'),
            'period' => Common::getRequestVar('period', false, 'string'),
        );

        foreach (self::$urlOptions as $optionKey => $optionName) {
            $options[$optionKey] = Common::unsanitizeInputValue($options[$optionKey]); // URLs should not be sanitized
        }

        self::setUpdaterOptions($options);
    }
public static function setUpdaterOptionsFromUrl ( ) { $ options = array ( 'loc' => Common :: getRequestVar ( 'loc_db' , false , 'string' ) , 'isp' => Common :: getRequestVar ( 'isp_db' , false , 'string' ) , 'org' => Common :: getRequestVar ( 'org_db' , false , 'string' ) , 'period' => Common :: getRequestVar ( 'period' , false , 'string' ) , ) ; foreach ( self :: $ urlOptions as $ optionKey => $ optionName ) { $ options [ $ optionKey ] = Common :: unsanitizeInputValue ( $ options [ $ optionKey ] ) ; // URLs should not be sanitized } self :: setUpdaterOptions ( $ options ) ; }
Sets the options used by this class based on query parameter values.

See setUpdaterOptions for query params used.
Sets the options used by this class based on query parameter values .