How to force https on a echo yii::app()->createurl ?

Hello,

Does anyone knows how to force https:// on echo yii::app()->createurl ?

Thank you,

Bambam

createUrl creates a relative URL based on the given controller and action information. A relative URL does not contain information about the schema. You should consider using createAbsoluteUrl.