Apostle wrapper for Yii 1.1