CoolBrew User Guide Version 1.3
Based on CodeIgniter Version 1.5.4


Language Module

This module gives you access to the Language class from your website documents. The Language Class provides functions to retrieve language files and lines of text for purposes of internationalization.

For more information about the methods accessed by these tags, please see the Language Class section of the CodeIgniter User Guide.

<?php get('core.language.line', 'filename', 'language', 'language-key' ); ?>

Returns a line of text from the requested language file.

<?php echo get('core.language.line', 'email', 'en_US', 'email_no_hostname' ); ?>

// Produces: You did not specify a SMTP hostname

<?php get('core.language.file', 'filename', 'language' ); ?>

Returns an array of all lines of text from the requested language file.