Grouper - Documentation
Getting Started: Free Download |
Purchase |
Install
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates
Function Reference
GrouperConf(option name(s),value[, array name]);
Sets a Grouper configuration option to the specified value. You may set more than one option to the same value at the same time by listing the option names, separated by pipe characters (|). See the configuration page for a list of available configuration options.
option name(s): The name of the option or options to set.
value: The value to which to set the option or options.
array name: If the option is part of an array of options, the name of the array. Refer to the documentation for individual options to see when this is needed.
Example: (only refresh search results every two hours)
<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperConf('cacheinterval',120);
GrouperShow('cuisine','google-cuisine');
?>