Difference between #7 and #8 of
Multilanguage web site controlling by get request and database allowed languages

Revision #8 has been created by Igor Ivanovic on Jul 12, 2011, 12:41:16 PM with the memo:

extra figure
« previous (#7) next (#9) »

Changes

Title unchanged

Multilanguage web site controlling by get request and database allowed languages

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

language, multilanguage, website

Content changed

[...]
/*
* rewriten behavior
*/
public function createUrl($route, $params = array(), $ampersand = '&') {
        //because if you wont to define language manually 
 
        if(empty($params['lang'])){
 
$params['lang'] = Controller::processUrl();         }
 
return parent::createUrl($route, $params, $ampersand);
}


}
```
[...]
5 0
12 followers
Viewed: 30 549 times
Version: 1.1
Category: Tutorials
Written by: Igor Ivanovic
Last updated by: rei
Created on: Jun 21, 2011
Last updated: 12 years ago
Update Article

Revisions

View all history