public static function makeCourseUrl($news)
 {
     $newsUrl = '/wTrainneApprove/courses';
     return self::createUrl($newsUrl, $news->id, UrlTransliterate::cleanString($news->title));
 }
Exemple #2
0
 public function actionTranslit()
 {
     Yii::import('application.extensions.UrlTransliterate.UrlTransliterate');
     echo UrlTransliterate::cleanString($_POST['name']);
 }