Authors
in package
Table of Contents
- __construct() : mixed
- admins() : mixed
- authorExists() : mixed
- authors_byclass() : mixed
- countAuthors() : int
- Returns the number of authors
- countAuthorsQuery() : string
- Returns the query used to count authors
- countPublishedAuthors() : int
- Returns the number of authors with at least one song in the DB
- current_author() : mixed
- dashboardData() : mixed
- dataList() : array<string|int, mixed>
- Returns a list of authors
- followed_total() : mixed
- followed_validate() : mixed
- freeMagmaID() : mixed
Methods
__construct()
public
__construct() : mixed
Return values
mixed —admins()
public
static admins() : mixed
Return values
mixed —authorExists()
public
static authorExists(mixed $shortname) : mixed
Parameters
- $shortname : mixed
Return values
mixed —authors_byclass()
public
authors_byclass() : mixed
Return values
mixed —countAuthors()
Returns the number of authors
public
static countAuthors([mixed $options = false ]) : int
Parameters
- $options : mixed = false
Tags
Return values
int —countAuthorsQuery()
Returns the query used to count authors
public
static countAuthorsQuery([mixed $published = false ]) : string
Parameters
- $published : mixed = false
Tags
Return values
string —countPublishedAuthors()
Returns the number of authors with at least one song in the DB
public
static countPublishedAuthors([mixed $options = false ]) : int
Parameters
- $options : mixed = false
Tags
Return values
int —current_author()
public
current_author() : mixed
Return values
mixed —dashboardData()
public
dashboardData() : mixed
Return values
mixed —dataList()
Returns a list of authors
public
static dataList([mixed $options = false ][, mixed $author_options = false ]) : array<string|int, mixed>
Parameters
- $options : mixed = false
- $author_options : mixed = false
Tags
Return values
array<string|int, mixed> —Returns category_id, category_domain_id array
followed_total()
public
followed_total(mixed $user) : mixed
Parameters
- $user : mixed
Return values
mixed —followed_validate()
public
followed_validate(mixed $user) : mixed
Parameters
- $user : mixed
Return values
mixed —freeMagmaID()
public
static freeMagmaID([mixed $flag = false ]) : mixed
Parameters
- $flag : mixed = false