/functions/file_prefs.php

Description

file_prefs.php

This contains functions for manipulating user preferences in files

Functions
cachePrefValues (line 19)

Check the preferences into the session cache.

void cachePrefValues ( $data_dir,  $username)
  • $data_dir
  • $username
checkForPrefs (line 177)

Check for a preferences file. If one can not be found, create it.

void checkForPrefs ( $data_dir,  $username, [ $filename = ''])
  • $data_dir
  • $username
  • $filename
getPref (line 89)

Return the value for the preference given by $string.

void getPref ( $data_dir,  $username,  $string, [ $default = ''])
  • $data_dir
  • $username
  • $string
  • $default
getSig (line 252)

Get the signature.

void getSig ( $data_dir,  $username,  $number)
  • $data_dir
  • $username
  • $number
removePref (line 142)

Remove a preference for the current user.

void removePref ( $data_dir,  $username,  $string)
  • $data_dir
  • $username
  • $string
savePrefValues (line 110)

Save the preferences for this user.

void savePrefValues ( $data_dir,  $username)
  • $data_dir
  • $username
setPref (line 157)

Set a there preference $string to $value.

void setPref ( $data_dir,  $username,  $string,  $value)
  • $data_dir
  • $username
  • $string
  • $value
setSig (line 223)

Write the User Signature.

void setSig ( $data_dir,  $username,  $number,  $value)
  • $data_dir
  • $username
  • $number
  • $value

Documentation generated on Sat, 07 Oct 2006 16:31:09 +0300 by phpDocumentor 1.3.0RC6