However, this code was coded by others than me and the consensus is that the preferred method is to use magics to ascertain properties in Yii.

I personally would prefer the use of magics here currently, it is the preferred Yii way and this is a Yii extension.