You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 satır
393B

  1. <?php
  2. namespace producer\components ;
  3. class UrlManagerProducer extends \common\components\UrlManagerCommon {
  4. public function createUrl($params) {
  5. if(!is_array($params))
  6. $params = [$params] ;
  7. $params['slug_producer'] = Yii::$app->getRequest()->getQueryParam('slug_producer') ;
  8. return parent::createUrl($params) ;
  9. }
  10. }