CMS object
From Snapp CMS Developer Documentation
Below is basic outline of the global $cms object which is the heart of SnappCMS.
We are in the process of updating our API documentation at the moment and will update the links to the various class API documents as they become available.
- cms
- [config] - site-specific parameters Loaded from config.ini
- cfg - Global Server Wide Configuration Variables
- [db] - Database Interface
- [email] - CMS Email Sending Class
- [error] - CMS Error Logging and Handling
- page - Currently Loaded Page Properties
- session - CMS Session Management Class
- seo - SEO URL Optimisation Class
- sitemap - CMS Sitemap Class
- widgets - CMS Widget Class
- logs - CMS User Activity Logging (optional)
- adverts - Banner Advertising Module (optional)
- cart - Shopping Cart Management Class (optional)
- branding - Developer Branding Options (optional)
- info - CMS Information (optional)
- flash - Flash Intergration (optional)
- user - Site User Managerment (optional)
- google - Google Analytics Tracking (optional)
- fonts - Font Replacement (optional)
