Artist
in package
Artist library.
Tags
Table of Contents
- $artist_s : string
- $id : string
- $int : mixed
- $name : mixed
- $modelArtistData : mixed
- __construct() : mixed
- _modelArtistData() : array<string|int, mixed>
- Artist data model Stores all fields from the DB that become properties We can also serve this fields in an object or array
- data() : array<string|int, mixed>
- Serves artist data
Properties
$artist_s
public
string
$artist_s
Tags
$id
public
string
$id
Tags
$int
public
mixed
$int
Tags
$name
public
mixed
$name
Tags
$modelArtistData
private
static mixed
$modelArtistData
= array("id" => "public", "name" => "public", "songs" => "public", "artist_s" => "public")
Methods
__construct()
public
__construct(mixed $artist_s[, mixed $scope = false ]) : mixed
Parameters
- $artist_s : mixed
- $scope : mixed = false
Return values
mixed —_modelArtistData()
Artist data model Stores all fields from the DB that become properties We can also serve this fields in an object or array
private
static _modelArtistData([mixed $options = false ]) : array<string|int, mixed>
Parameters
- $options : mixed = false
Tags
Return values
array<string|int, mixed> —data()
Serves artist data
private
data([mixed $options = false ]) : array<string|int, mixed>
Parameters
- $options : mixed = false