Yii 1.1: jurlmanager

URL Manager
1 follower

This extension is ...

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

'urlManager'=>array(
    'class'=>'application.extensions.urlManager.JUrlManager',
    'urlFormat'=>'path',
    'rules'=> include dirname(__FILE__).DIRECTORY_SEPARATOR.'routes.php',
    'showScriptName'=>false,
),

Change Log

February 23, 2010

  • Initial release.

Total 2 comments

#814 report it
jerry2801 at 2010/02/25 08:40am
to scoob.junior

just like documentation, you can use JUrlManager

you can change language in url, like: http://abc.com/product/index?lang=zh_cn

when url without lang parameter, it will be find the language in cookie, if not find, will use preferred language

#816 report it
Junior - df9 at 2010/02/25 05:33am
missing usage and documentation

hey, thanks for sharing, but, what is it for? is there any docs available somewhere?

thanks

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: jerry2801
  • Category: File System
  • Votes: +1 / -1
  • Downloaded: 727 times
  • Created on: Feb 23, 2010
  • Last updated: Feb 23, 2010