Table of Contents
- How to use the Classes
As already described on the Configuration page, we do not modify the class.hvconfig.inc itself, but copy the relevant lines to a file we may need to create first: hv-localconf.inc. Since we are talking about classes, the configuration modifies their properties - hence we precede each setting here with the string $this->.
While the configuration files are used by both, the download class and the HistView class itself, they share only a few settings - so this page will be quite short. Nevertheless, we use the same file - so the common settings have to be made only once, and we also have a central point to look for them.
The following table lists the settings common to both classes. The preceding string $this-> is omitted here for better readability:
|argsep||URL argument separator. Most sites use the plain ampersand (&) for this - but though that works, it does not comply to the W3C guidelines since it introduces an entity (as you define e.g. the ampersand itself as the entity &). So you may need to check with your web servers (and/or PHP) configuration what to set here. If you are unsure, you may use the & since it works - but on a check with e.g. htmltidy, your pages may throw some warnings then.||";"|
|dltype||How your downloads should be served. You may e.g. link them directly by setting this to "direct" - or use the download class by setting this to "internal". The latter has a lot of advantages, as e.g. being able to have a download counter, or kick-off bots like Yahoo Slurp when they are touching your files.||"internal"|