Reusable components for YII