YII mysql select & read|write