private function getQueryFilter($filters)
    {
        $where = '';
        if (!empty($filters))
        {
            foreach ($filters as $filterKey => $filterValue)
            {
                $where .= ' AND m.' . $filterKey . ' LIKE :' . $filterKey;
            }
            $where = ' WHERE ' . substr($where, 4);
        }
        return $where;
    }
private function getQueryFilter($filters)
    {
        $where = '';
        if (!empty($filters))
        {
            foreach ($filters as $filterKey => $filterValue)
            {
                $where .= ' AND m.' . $filterKey . ' LIKE :' . $filterKey;
            }
            $where = ' WHERE ' . substr($where, 4);
        }
        return $where;
    }
private function getQueryFilter ( $ filters ) { $ where = '' ; if ( ! empty ( $ filters ) ) { foreach ( $ filters as $ filterKey => $ filterValue ) { $ where .= ' AND m.' . $ filterKey . ' LIKE :' . $ filterKey ; } $ where = ' WHERE ' . substr ( $ where , 4 ) ; } return $ where ; }
Make query filter string, from given filters

@param array $filters
@return string
Make query filter string from given filters