Yii snippet for recursive finding categories