PostNuke Help

Previous
ppnBlockShow

Home
up

Next
pnConfigGetVar


pnConfigDelVar

delete a configuration variable

Synopsis

bool pnConfigDelVar(name);

Description

pnConfigDelVar() deletes a configuration variable from the PostNuke system.

Parameters

name
The name of the configuration variable to delete

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

// Remove locale setting
if (!pnConfigDelVar('locale')) {
  die('Error deleting configuration variable');
}
       

See Also

pnConfigGetVar(), pnConfigSetVar()


Previous
ppnBlockShow

Home
up

Next
pnConfigGetVar