Trace: » geturi » translator_notes » themes » content » children » authorid » keywords » admin_themes » constants » overview_of_helpers
Translations of this page?:
General
Getting Support
Administration
Design
Wolf Reference
Plugin Development
Core Development
- Design documents
- Working guidelines
- References
Press, Graphics and Translations
Wolf CMS books section
Table of Contents
Helpers
Introduction
Helpers are similar to plugins in so far as they are separate pieces of code which extend Wolf CMS's functionality. However, helpers are never loaded in unless specifically called by an outside piece of code.
They are found in the <root>/wolf/helpers/ directory.
Helpers currently supplied with Wolf CMS
| Name | Description |
|---|---|
| Simple Email library that permits email to be sent using Mail, Sendmail, or SMTP. | |
| I18n | Simple internationalisation library used by Wolf CMS core for translations. |
| Kses | HTML/XHTML filter that only allows some elements and attributes. |
| Pagination | Simple Pagination helper based on the CodeIgniter pagination helper. |
| Upload | Simple upload library. |
| Zip | Simple Zip library that allows creation and downloading of zip files. |
User contributed Helpers
| Name | Description | Contributor |
|---|---|---|
| Pager | Alternative pagination helper based on the Kohana framework. | jMas |
Using Helpers
To call a single helper, use: <?php use_helper('Pagination'); ?>
You can call more than one helper at a time by listing them as parameters:
<?php use_helper('Email', 'Pagination', 'Zip'); ?>
The functionality provided by the helper will only be available on the page(s) where it is specifically called by this code.
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
