SongsFilters
in package
Class for songs filtering.
Tags
Table of Contents
- $audio : string
- $decade : int
- $fullband : bool
- $gender : string
- $genre : string
- $instrument : string
- $rating : string
- $reductions : bool
- $source : string
- $tier : string
- $tierinstrument : string
- $vocals : string
- $DB : mixed
- Library for song filtering Some of the filters are hardcoded, some are taken from the DB, eventually they should all be pulled querying the DB Some filters have their own class because they are complex entities, others only require a simple straight array
- __construct() : mixed
- _instruments_diff() : mixed
- audio() : mixed
- decade() : mixed
- filters() : mixed
- fullband() : mixed
- gender() : mixed
- genre() : mixed
- instrument() : mixed
- rating() : mixed
- reductions() : mixed
- source() : mixed
- tier() : mixed
- tierinstrument() : mixed
- vocals() : mixed
Properties
$audio
public
string
$audio
Tags
$decade
public
int
$decade
Tags
$fullband
public
bool
$fullband
Tags
$gender
public
string
$gender
Tags
$genre
public
string
$genre
Tags
$instrument
public
string
$instrument
Tags
$rating
public
string
$rating
Tags
$reductions
public
bool
$reductions
Tags
$source
public
string
$source
Tags
$tier
public
string
$tier
Tags
$tierinstrument
public
string
$tierinstrument
Tags
$vocals
public
string
$vocals
Tags
$DB
Library for song filtering Some of the filters are hardcoded, some are taken from the DB, eventually they should all be pulled querying the DB Some filters have their own class because they are complex entities, others only require a simple straight array
private
mixed
$DB
Methods
__construct()
public
__construct(mixed $game) : mixed
Parameters
- $game : mixed
Return values
mixed —_instruments_diff()
public
_instruments_diff() : mixed
Return values
mixed —audio()
public
audio() : mixed
Tags
Return values
mixed —decade()
public
decade() : mixed
Tags
Return values
mixed —filters()
public
filters([mixed $type = false ]) : mixed
Parameters
- $type : mixed = false
Return values
mixed —fullband()
public
fullband() : mixed
Tags
Return values
mixed —gender()
public
gender() : mixed
Tags
Return values
mixed —genre()
public
genre([mixed $all = false ][, mixed $keys_only = false ]) : mixed
Parameters
- $all : mixed = false
- $keys_only : mixed = false
Tags
Return values
mixed —instrument()
public
instrument([mixed $all = false ]) : mixed
Parameters
- $all : mixed = false
Tags
Return values
mixed —rating()
public
rating() : mixed
Tags
Return values
mixed —reductions()
public
reductions() : mixed
Tags
Return values
mixed —source()
public
source() : mixed
Tags
Return values
mixed —tier()
public
tier() : mixed
Tags
Return values
mixed —tierinstrument()
public
tierinstrument([mixed $all = false ]) : mixed
Parameters
- $all : mixed = false
Tags
Return values
mixed —vocals()
public
vocals() : mixed