I’m new here in Yii

Perhaps the question that I will do is very newbie or someone already did it

but here it goes

I have a CListView and wanted to show only records that have fields in a table like (id = 3) for example

instead of showing all records

the objective is to show only the records that are linked to the user

like in the pitcure the records who have id pessoa = 1

Check scopes on the guide or just filter your criteria.