/sources/config2.php

Description
Functions
find_lost_option (line 26)

An option has dissappeared somehow - find it via searching our code-base for it's install code. It doesn't get returned, just loaded up. This function will produce a fatal error if we cannot find it.

void find_lost_option (ID_TEXT $name)
  • ID_TEXT $name: The name of the value
set_option (line 88)

Set a configuration option with the specified values.

void set_option (ID_TEXT $name, LONG_TEXT $value, [?ID_TEXT $type = NULL], [?LONG_TEXT $current_value = NULL])
  • ID_TEXT $name: The name of the value
  • LONG_TEXT $value: The value
  • ?ID_TEXT $type: The type of the option. This is normally ommited, but to save a DB lookup, may be passed through (NULL: work out the type)
  • ?LONG_TEXT $current_value: The current value of the config option (NULL: unknown). This is just for efficiency for remapping language config options.

Documentation generated on Sun, 02 Jan 2011 23:12:00 +0000 by phpDocumentor 1.4.3