Yii带有CHtml链接的子域名列表

How can i get a list of subdomain links with this code?

<?php echo CHtml::link($language, $this->getOwner()->createAbsoluteUrl('', $params)) ?>

this output is: mydomain.com/page/blabla

what i need is: blabla.mydomain.com/page

thanx

You need to create route

"http://blabla.".$domain."/page"=>'blabla/page'

than you can use

Yii::app()->createUrl('blabla/page');
$x = "mydomain.com/page/blabla";
$arr = preg_split('/page\//',$x);
echo $arr[1].".".$arr[0]."page";