2 May 2008 23:14
SF.net SVN: squirrelmail: [13079] branches/SM-1_4-STABLE/squirrelmail/ functions/options.php
Revision: 13079
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13079&view=rev
Author: pdontthink
Date: 2008-05-02 14:14:29 -0700 (Fri, 02 May 2008)
Log Message:
-----------
Include original configuration array in Option object; allows custom save handlers to add their own
parameters and access them at save time
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/functions/options.php
Modified: branches/SM-1_4-STABLE/squirrelmail/functions/options.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/options.php 2008-05-01 21:01:56 UTC (rev 13078)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/options.php 2008-05-02 21:14:29 UTC (rev 13079)
<at> <at> -67,6 +67,7 <at> <at>
*/
class SquirrelOption {
/* The basic stuff. */
+ var $raw_option_array;
var $name;
var $caption;
var $type;
<at> <at> -90,8 +91,9 <at> <at>
var $htmlencoded=false;
function SquirrelOption
- ($name, $caption, $type, $refresh_level, $initial_value = '', $possible_values = '', $htmlencoded =
false) {
+ ($raw_option_array, $name, $caption, $type, $refresh_level, $initial_value = '', $possible_values
= '', $htmlencoded = false) {
/* Set the basic stuff. */
+ $this->raw_option_array = $raw_option_array;
$this->name = $name;
$this->caption = $caption;
$this->type = $type;
<at> <at> -867,6 +869,7 <at> <at>
foreach ($grpopts as $optset) {
/* Create a new option with all values given. */
$next_option = new SquirrelOption(
+ $optset,
$optset['name'],
$optset['caption'],
$optset['type'],
This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@...
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn
RSS Feed