I have a model named Publised, it's a checbox model. On my Admin View on Search it displays either 1 or 0, as in 1 being published and 0 not. What I want is to display Yes or No instead of 1 or 0.
So basically I want something
if(model->Published > 0 ){
//show Yes for each row on my Admin page
}else{
//show No for each row on my Admin page
}
I need to know how to access the model text and change it's output. Would I have to actually change the DB input.
Thanks

Help















