Don't have Telegram yet? Try it now!
http://onezeronull.com/2015/01/08/logic-used-for-layouts-in-yii-1-x/
Logic used for layouts in Yii 1.x