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