'Partnter' ); } protected function filterCustomers(&$result) { $result['whereClause'][] = array( 'type' => 'Customer' ); } protected function filterResellers(&$result) { $result['whereClause'][] = array( 'type' => 'Reseller' ); } }