Blesta Source Documentation

ServiceFilters extends Filter

Service Filters

Table of Contents

Methods

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

getFilters()

Gets a list of input fields for filtering services

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 modules on
  • client True to fetch the filters for the client interface, false to fetch the filters for the admin interface
  • client_id The client ID to filter modules on
$vars : array<string|int, mixed> = []

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

  • module_id The module ID on which to filter packages
  • package_name The (partial) name of the packages for which to fetch services
  • service_meta The (partial) value of meta data on which to filter services
Return values
InputFields

An object representing the list of filter input field

Tags
subpackage

core.Util.Filters

copyright

Copyright (c) 2020, Phillips Data, Inc.

license

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

link

Blesta


        
On this page

Search results