cachePrefValues (line
23)
Check the preferences into the session cache.
void
cachePrefValues
(string $data_dir, string $username)
-
string
$data_dir
-
string
$username
Check for a preferences file. If one can not be found, create it.
void
checkForPrefs
(string $data_dir, string $username, [string $filename = ''])
-
string
$data_dir: data directory
-
string
$username: user name
-
string
$filename: (since 1.2.0) preference file name. detects file name, if set to empty string.
Return the value for the preference given by $string.
mixed
getPref
(string $data_dir, string $username, string $string, [string $default = ''])
-
string
$data_dir: data directory
-
string
$username: user name
-
string
$string: preference name
-
string
$default: (since 1.2.0) default preference value
Get the signature.
string
getSig
(string $data_dir, string $username, integer $number)
-
string
$data_dir: data directory
-
string
$username: user name
-
integer
$number: (since 1.2.5) identity number
Remove a preference for the current user.
void
removePref
(string $data_dir, string $username, string $string)
-
string
$data_dir: data directory
-
string
$username: user name
-
string
$string: preference name
savePrefValues (line
124)
Save the preferences for this user.
void
savePrefValues
(string $data_dir, string $username)
-
string
$data_dir: data directory
-
string
$username: user name
Set a there preference $string to $value.
void
setPref
(string $data_dir, string $username, string $string, mixed $value)
-
string
$data_dir: data directory
-
string
$username: user name
-
string
$string: preference name
-
mixed
$value: preference value
Write the User Signature.
void
setSig
(string $data_dir, string $username, integer $number, string $value)
-
string
$data_dir: data directory
-
string
$username: user name
-
integer
$number: (since 1.2.5) identity number. parameter was used for signature text before 1.2.5.
-
string
$value: (since 1.2.5) signature text