CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | Public Attributes | List of all members
COREPOS\pos\install\conf\Conf Class Reference

Static Public Member Functions

static whoami ()
 
static checkWritable ($filename, $optional=False, $template=False)
 
static file ()
 
static save ($key, $value)
 
static remove ($key)
 

Public Attributes

const INI_SETTING = 1
 
const PARAM_SETTING = 2
 
const EITHER_SETTING = 3
 

Member Function Documentation

static COREPOS\pos\install\conf\Conf::remove (   $key)
static

Remove a value from config file(s)

Parameters
$keystring key
Returns
boolean success
static COREPOS\pos\install\conf\Conf::save (   $key,
  $value 
)
static

Save entry to config file(s)

Parameters
$keystring key
$valuestring value
Returns
boolean success

Values are written to a file and must be valid PHP code. For example, a PHP string should include single or double quote delimiters in $value.


The documentation for this class was generated from the following file: