Documentation

save_setting_redirect.php

Save a Setting (k/v) and redirect to URI u

Call: save_setting_redirect.php?k=[key]&v=[value]&u=[RedirURI]

PHP version 8.1

Tags
since
2.6.0-fork

You can omit either u, or (k, v).

Table of Contents

Functions

get_parameters()  : array<string|int, string>
Return the parameters from the URL.
unset_settings()  : void
Unset all session settings, and set current text to default.
save()  : void
Save settings and go to a page.

Functions

get_parameters()

Return the parameters from the URL.

get_parameters() : array<string|int, string>
Tags
psalm-return

list{string, string, string}

Return values
array<string|int, string>

Setting key, setting value and target URL

unset_settings()

Unset all session settings, and set current text to default.

unset_settings() : void

save()

Save settings and go to a page.

save(string $k, string $v) : void
Parameters
$k : string

Setting key

$v : string

Setting value


        
On this page

Search results