Jg-objects are some PHP-classes I started writing to learn more about classes. Below you'll see a list of classes I've made. Some are still under development, but they all work.
All visitors at www.jensgram.dk are allowed to view the documentation, but you'll have to sign in to view the source.
At this point it is not possible to download the entire class as a package (eg. zip), but you can just press "view source" and press "download class" from there to download the PHP-file.
All objects are written in the same way. I've used this document as a guideline!
At this moment the following objects are available:
| Object: | View: | |
|---|---|---|
| JgAdditionalData | Documentation | Source |
| JgBasics (required for all objects) | Documentation | Source |
| JgCachedElement | Documentation | Source |
| JgCaptcha | Documentation | Source |
| JgMenu | Documentation | Source |
| JgMultilanguage | Documentation | Source |
| JgPaginator | Documentation | Source |
| JgPoll | Documentation | Source |
| JgPythonHighlighter | Documentation | Source |
| JgUsers | Documentation | Source |
Follow the links above to view descriptions / documentations and download the objects.
Installation is described in the documentation for each object.
All objects are written for easy set-up and use. Therefore, I've put an effort into making them as general as possible. This means that the objects should work without modifications. However, there is one dependency; you must always include JgBasics!
Furthermore some objects needs one or more database tables. The structure is found in the installation-part of the documentation.
Jg-objects are free to use and change, but you are not allowed to distribute them. Don't forget to read my copyrights!
All objects are written and documented in English. This (and only this) page is also translated to Danish, but keep in mind that the chosen language does not affect the documentation etc.
The HTTP_ACCEPT_LANGUAGE header determines the language on this page. Your User-agent sent "en-us,en-gb,en;q=0.7,*;q=0.3". However, this value can be overridden by choosing another language in the language-form.