/functions/options.php

Description

options.php

Functions needed to display the options pages.

Classes
Class Description
SquirrelOption SquirrelOption: An option for SquirrelMail.
Functions
create_option_groups (line 1160)
array create_option_groups (array $optgrps, array $optvals)
  • array $optgrps
  • array $optvals
create_optmode_element (line 1151)

Create hidden 'optmode' input field with value set by argument

  • return: html formated hidden input field
string create_optmode_element (string $optmode)
  • string $optmode
create_optpage_element (line 1142)

Create hidden 'optpage' input field with value set by argument

  • return: html formated hidden input field
string create_optpage_element (string $optpage)
  • string $optpage: identification of option page
save_option (line 990)

Saves the option value (this is the default save function unless overridden by the user)

void save_option (object $option)
  • object $option: object that holds option name and new_value
save_option_noop (line 1133)

save function that does not save

void save_option_noop (object $option)
  • object $option

Documentation generated on Mon, 13 Jan 2020 04:23:12 +0100 by phpDocumentor 1.4.3