Actually is much simpler:
$catwhere = "\n AND ev.catid IN(" . $dataModel->accessibleCategoryList(null,null,null,$allLanguages) . ")";

That will provide the accessibleCategoryList fitlering in either case, for all language or just for the specific one.