Todo List
database_object | --Artist
[line 31]
[line 28]
[line 29]
[line 32]
[line 30]
[line 35]
static void build_cache( $ids, [ $extra = false])
static void construct_from_array( $data)
This is used by the metadata class specifically but fills out a Artist object based on a key'd array, it sets $_fake to true
static void get_from_name( $name)
This gets an artist object based on the artist name
Artist __construct( [ $id = ''])
Artist class, for modifing a artist Takes the ID of the artist and pulls the info from the db
void format( )
this function takes an array of artist information and reformats the relevent values so they can be displayed in a table for example it changes the title into a full link.
void get_albums( )
gets the album ids that this artist is a part of
void get_random_songs( )
Gets the songs from this artist in a random order
void get_songs( )
gets the songs for this artist
void update( $data)
This takes a key'd array of data and updates the current artist it will flag songs as neeed