Ok, so i'm clear, change from:
`function search(`
to:
`public function search(`
right?