/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 1102)
array create_option_groups (array $optgrps, array $optvals)
  • array $optgrps
  • array $optvals
create_optmode_element (line 1093)

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 1084)

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 932)

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 1075)

save function that does not save

void save_option_noop (object $option)
  • object $option

Documentation generated on Tue, 22 Jul 2014 04:18:56 +0200 by phpDocumentor 1.4.3