к примеру вот такой нужен action
Код: Выделить всё
public function actionRating-regions()
{
}
Код: Выделить всё
public function actionRating-regions()
{
}
Function names follow the same rules as other labels in PHP. A valid function name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*.
Код: Выделить всё
public function actions() {
return array(
'rating-regions'=>'path.to.Action1Class',
);
}
ну почему.. можно в missingAction отлавливать.. И зачем только этот манагер придумали?rak писал(а):так написано ж, чтоб без урл менеджера
Т.е. ответ: никак
ага, вариант =)Johnatan писал(а):http://www.yiiframework.com/doc/api/1.1 ... ons-detail
не?
Код: Выделить всё
public function actions() { return array( 'rating-regions'=>'path.to.Action1Class', ); }