PHP Classes

File: usage_example.txt

Recommend this page to a friend!
  Classes of solomongaby   GSD_Controller_Plugin_Language   usage_example.txt   Download  
File: usage_example.txt
Role: Auxiliary data
Content type: text/plain
Description: show how you can use translation in your controllers and views
Class: GSD_Controller_Plugin_Language
Handle multi-language URLs with Zend Framework
Author: By
Last change:
Date: 16 years ago
Size: 211 bytes
 

 

Contents

Class file image Download
Using translate in you controllers $this->view->title = $this->view->translate('default-register-index-title'); Using translate in you views <?php echo $this->translate('default-register-index-title'); ?>