ok I think I mentioned wrong I have a page name Task which contain different task and each task has field like this task_person = "ali,sradesign,nona"
the data for each task may vary then when I try to get all the tasks like this
$tasks = $pages->find("parent=/tasks/,include=hidden,sort=-created");
I want to have a filter here to check for it in one statement not to get all the tasks first then check for that.
just to get the tasks that their task_person is equal too $user->name either ali or sradesign or nona.