Application
Interfaces, Classes, Traits and Enums
- GlobalAuth
- Backup
- BasicUser
- RoutesHelper
- CustomDate
- DB
- This class takes care of all DB operations
For most operations, there are direct methods fully sanitized
For less standard operations we have a _query method that allows for direct
string query creation and bind parameters. Params are sanitized, the rest is not
- DataTable
- Errors
- JSCleaner
- List_Util
- List utility.
- Loader2FA
- Logger
- Overwatch
- SmsHostingClient
- Tools
- UUID
- RGWInfo
- RGWRequestStatus
- RGWResponsePagination
- RGWResponseCount
- RouteArtists
- RouteAuthor
- RouteAuthors
- RouteSongs
- Author
- Author library.
- Authors
- ClassLevels
- Colors
- MyAuthor
- Notifications
- Stats
- Dashboard
- Banner
- C3DBSongs
- SongsFilters
- Class for songs filtering.
- SongsPreferences
- Database Preferences class
This takes care of handling the preferences in filtering songs in a number of cases
1. Creating a filtering SQL query when a call is made to the API
2. Creating the HTML code for the GUI for the call
- PrepFiles
- Song
- SongsHelper
- Artist
- Artist library.
- RGWArtists
- SongCreators
- SongDecades
- SongsInstruments
- SongTiers
- C3Dashboard
- Handles everything related to
the dashboard: stats, file uploading, etc.
- C3Database
- Handles everything related to the database: tiers, icons, etc.
- C3Tools
- This takes care of tools specifically pertaining to C3
Use this sparingly:
everything that is a tool should be in Tool
everything specific to C3 should be in its own class
This is mainly a legacy class for the old awful functions.php file
- GamesInfo
- C3Logger
- myPDO
- SwaggerMiddleware
- This class exists for the simple reason that swagger-php lacks any solid proper decoration logic
So we have to code something so basic it's insane it's not available out of the box
- Vigilante
- WordPressRGW
- Account
- Info
- User
- UserssInfo
Table of Contents
-
vardump()
: mixed
-
json_error()
: mixed
-
json_success()
: mixed
-
getFieldLength()
: mixed
-
aset()
: mixed
-
list_filter()
: mixed
vardump()
vardump(mixed $var) : mixed
Parameters
-
$var
: mixed
-
Return values
mixed
—
json_error()
json_error(mixed $response, mixed $error[, mixed $data = [] ]) : mixed
Parameters
-
$response
: mixed
-
-
$error
: mixed
-
-
$data
: mixed
= []
-
Return values
mixed
—
json_success()
json_success(mixed $response[, mixed $data = false ][, mixed $passthru = false ][, mixed $status = 200 ]) : mixed
Parameters
-
$response
: mixed
-
-
$data
: mixed
= false
-
-
$passthru
: mixed
= false
-
-
$status
: mixed
= 200
-
Return values
mixed
—
getFieldLength()
getFieldLength(mixed $results, mixed $field) : mixed
Parameters
-
$results
: mixed
-
-
$field
: mixed
-
Return values
mixed
—
aset()
aset(mixed $array[, mixed $key = false ]) : mixed
Parameters
-
$array
: mixed
-
-
$key
: mixed
= false
-
Return values
mixed
—
list_filter()
list_filter(mixed $list[, mixed $args = array() ][, mixed $operator = 'AND' ]) : mixed
Parameters
-
$list
: mixed
-
-
$args
: mixed
= array()
-
-
$operator
: mixed
= 'AND'
-
Return values
mixed
—