yangruiyou85 / yiidoc

Automatically exported from code.google.com/p/yiidoc
0 stars 0 forks source link

Ошибка в разделе "Красивые адреса URL" #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
В подразделе "Использование именованных 
параметров." при описании примера
правил забыли перевести один из пунктов. 

Английская версия:

    * Calling $this->createUrl('post/list') generates /index.php/posts. The
first rule is applied.
    * Calling $this->createUrl('post/read',array('id'=>100)) generates
/index.php/post/100. The second rule is applied.
    * Calling $this->createUrl('post/read',array('year'=>2008,'title'=>'a
sample post')) generates /index.php/post/2008/a%20sample%20post. The third
rule is applied.
    * Calling $this->createUrl('post/read') generates /index.php/post/read.
None of the rules is applied.

Русская версия:

    * Вызов $this->createUrl('post/list') сгенерирует /index.php/posts.
Здесь было применено первое правило.
    * Вызов $this->createUrl('post/read',array('id'=>100)) сгенерирует
/index.php/post/100. Применено второе правило.
    * Вызов $this->createUrl('post/read') сгенерирует /index.php/post/read.
Использовано третье правило.

Original issue reported on code.google.com by roskoale...@gmail.com on 15 Mar 2010 at 12:43

GoogleCodeExporter commented 9 years ago
Sorry, this issue tells about some little mistake in russian documentation.

Original comment by roskoale...@gmail.com on 15 Mar 2010 at 12:44

GoogleCodeExporter commented 9 years ago
Thanks. Fixed.

Original comment by alexander.makarow on 21 Mar 2010 at 8:46