Reading/writing Composite Type using Postgres Field

I am new to Yii Framework but as I go along with the tutorial I am starting to love the of it. Anyway, may problem is something to do with reading/writing in to composite type field in Postgres database. Can anyone know how to do it using the AR model? Thank you in advance.