PostNuke Help

Previous
pnConfigGetVar

Home
up

Next
pnDBGetConn


pnConfigSetVar

set configuration variable

Synopsis

bool pnConfigSetVar(name, value);

Description

pnConfigSetVar() sets a configuration variable on the PostNuke system.

Parameters

name
The name of the configuration variable to set
value
The value to set the configuration variable to

Return Values

This function currently returns false due to not being implemented.

Exceptions

This function raises BAD_PARAM if you pass an invalid parameter. This function raises DATABASE_ERROR if an error occurs while querying data.

Notes

This function is not currently implemented.

Examples

// Set locale for this site
if (!pnConfigSetVar('locale', 'en_GB')) {
    die('Error setting configuration variable');
}
       

See Also

pnConfigGetVar(), pnConfigDelVar()


Previous
pnConfigGetVar

Home
up

Next
pnDBGetConn