Blesta Source Documentation

CouponFilters implements FiltersInterface

Coupon Filters

Table of Contents

Interfaces

FiltersInterface Package Filters

Methods

getFilters() Gets a list of input fields for filtering clients
getDiscountTypes()
Methods

getFilters()

Gets a list of input fields for filtering clients

public getFilters(array<string|int, mixed> $options[, array<string|int, mixed> $vars = [] ]) : InputFields
Parameters
$options : array<string|int, mixed>

A list of options for building the filters including:

  • language The language for filter labels and tooltips
  • company_id The company ID to filter client groups on
$vars : array<string|int, mixed> = []

A list of submitted inputs that act as defaults for filter fields including:

  • code The (partial) code of the coupon
  • discount_type The type of discount for which to filter coupons
  • currency The currency for which to filter coupons
  • active Filter coupons depending on whether or not they are active
  • internal Filter coupons depending on whether or not they are internal coupons
  • package_group The package group on which to filter coupons
Return values
InputFields

An object representing the list of filter input field

Tags
subpackage

core.Util.Filters

copyright

Copyright (c) 2023, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results