Some valuable points in Yii

Published by: 0

Here I want to share some valuable points which may helpful for Yii developer.
1.Getting current theme in Yii
Ans: Yii::app()->theme->name

2. Getting base URL in Yii:
Ans: Yii::app()->getBaseUrl(true);

Share this:

The following two tabs change content below.

Ramen Dey

Hi, to my all friends , this blog for you to just share my knowledge on different sections .

Latest posts by Ramen Dey (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *

Result of *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge