Blesta Source Documentation

PackageFilters extends Filter

Package Filters

Table of Contents

Methods

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

getFilters()

Gets a list of input fields for filtering packages

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
$vars : array<string|int, mixed> = []

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

  • name The name or part of the name of the packages to fetch
  • module_id The module ID to filter packages on
  • assigned_services The service status on which to filter packages
  • hidden Whether or not to show the hidden packages
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