I'm setting up an application using a REST api. Instead of writing one my own, the RestfullYii extension looks quite promising to use! Supports all kind of functionality "out of the box".
What I'm struggling with, is how to select specific attributes from my model for output to JSON? There are the model.visible.properties and model.hidden.properties events, but these seem only to work with the default
$model->attributescollection. These attributes are really only the columns of the underlying table, so what if I want to output