File/nasmail/functions/options.php

Description

options.php

Functions needed to display the options pages.

  • version: $Id: options.php 1000 2007-11-06 06:35:15Z tokul $
  • copyright: (c) 1999-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007 The NaSMail Project
  • license: GNU Public License
Classes
Class Description
 class SquirrelOption SquirrelOption: An option for Squirrelmail.
Constants
SMOPT_REFRESH_ALL = 2 (line 34)
SMOPT_REFRESH_FOLDERLIST = 1 (line 33)
SMOPT_REFRESH_NONE = 0 (line 32)
SMOPT_SAVE_DEFAULT = 'save_option' (line 44)
SMOPT_SAVE_NOOP = 'save_option_noop' (line 45)
SMOPT_SIZE_HUGE = 4 (line 41)
SMOPT_SIZE_LARGE = 3 (line 40)
SMOPT_SIZE_MEDIUM = 2 (line 39)
SMOPT_SIZE_NORMAL = 5 (line 42)
SMOPT_SIZE_SMALL = 1 (line 38)
SMOPT_SIZE_TINY = 0 (line 37)
SMOPT_TYPE_BOOLEAN = 5 (line 26)
SMOPT_TYPE_COMMENT = 7 (line 28)
SMOPT_TYPE_FLDRLIST = 8 (line 29)
SMOPT_TYPE_FLOAT = 4 (line 25)
SMOPT_TYPE_HIDDEN = 6 (line 27)
SMOPT_TYPE_INTEGER = 3 (line 24)
SMOPT_TYPE_STRING = 0 (line 21)

*******************************************

SMOPT_TYPE_STRLIST = 1 (line 22)
SMOPT_TYPE_TEXTAREA = 2 (line 23)
Functions
create_hidden_element (line 520)
string create_hidden_element (string $name, string $value)
  • string $name
  • string $value
create_option_groups (line 532)
array create_option_groups (array $optgrps, array $optvals)
  • array $optgrps
  • array $optvals
create_optmode_element (line 511)

Creates hidden optmode attribute

string create_optmode_element (string $optmode)
  • string $optmode
create_optpage_element (line 502)

Creates hidden optpage attribute

string create_optpage_element (string $optpage)
  • string $optpage
OptionSubmit (line 646)

Prints submit button

void OptionSubmit (string $name)
  • string $name
print_option_groups (line 600)

Prints options

void print_option_groups (array $option_groups)
  • array $option_groups: option_groups
save_option (line 481)

Saves option

void save_option (object SquirrelOption $option)
save_option_noop (line 493)
void save_option_noop (object SquirrelOption $option)

Documentation generated on Sun, 22 Nov 2009 17:36:43 +0200 by phpDocumentor 1.4.3