constructor __construct [line 42]
AmpacheHttpq __construct(
)
|
|
Constructor
This returns the array map for the localplay object REQUIRED for Localplay
Tags:
method add [line 278]
add
This must take an array of URL's from Ampache and then add them to HttpQ
Tags:
Overrides
localplay_controller::add() (parent method not documented)
Parameters:
method add_instance [line 127]
void add_instance(
$data)
|
|
add_instance
This takes key'd data and inserts a new Httpq instance
Tags:
Overrides
localplay_controller::add_instance() (parent method not documented)
Parameters:
method clear_playlist [line 315]
clear_playlist
This deletes the entire Httpq playlist... nuff said
Tags:
method connect [line 554]
connect
This functions creates the connection to HttpQ and returns a boolean value for the status, to save time this handle is stored in this class
Tags:
Overrides
localplay_controller::connect() (parent method not documented)
method delete_instance [line 159]
void delete_instance(
$uid)
|
|
delete_instance
This takes a UID and deletes the instance in question
Tags:
Overrides
localplay_controller::delete_instance() (parent method not documented)
Parameters:
method delete_track [line 300]
void delete_track(
$object_id)
|
|
delete_track
This must take an array of ID's (as passed by get function) from Ampache and delete them from Httpq
Tags:
Overrides
localplay_controller::delete_track() (parent method not documented)
Parameters:
method get [line 462]
get
This functions returns an array containing information about The songs that HttpQ currently has in it's playlist. This must be done in a standardized fashion
Tags:
Overrides
localplay_controller::get() (parent method not documented)
method get_active_instance [line 268]
method get_description [line 53]
method get_instance [line 229]
void get_instance(
[
$instance = ''])
|
|
get_instance
This returns a single instance and all it's variables
Tags:
Parameters:
method get_instances [line 175]
method get_version [line 63]
method install [line 87]
method instance_fields [line 214]
instance_fields
This returns a key'd array of [NAME]=>array([DESCRIPTION]=>VALUE,[TYPE]=>VALUE) for the fields so that we can on-the-fly generate a form
Tags:
Overrides
localplay_controller::instance_fields() (parent method not documented)
method is_installed [line 73]
method next [line 391]
next
This just tells HttpQ to skip to the next song
Tags:
method pause [line 415]
pause
This tells HttpQ to pause the current song
Tags:
method play [line 331]
play
This just tells HttpQ to start playing, it does not take any arguments
Tags:
Overrides
localplay_controller::play() (parent method not documented)
method prev [line 403]
prev
This just tells HttpQ to skip to the prev song
Tags:
method random [line 449]
random
This tells HttpQ to turn on or off the playing of songs from the playlist in random order
Tags:
Parameters:
method repeat [line 438]
repeat
This tells HttpQ to set the repeating the playlist (i.e. loop) to either on or off
Tags:
Parameters:
method set_active_instance [line 247]
void set_active_instance(
$uid, [
$user_id = ''])
|
|
set_active_instance
This sets the specified instance as the 'active' one
Tags:
Overrides
localplay_controller::set_active_instance() (parent method not documented)
Parameters:
method skip [line 360]
skip
This tells HttpQ to skip to the specified song
Tags:
Parameters:
method status [line 529]
status
This returns bool/int values for features, loop, repeat and any other features That this localplay method supports. required function
Tags:
Overrides
localplay_controller::status() (parent method not documented)
method stop [line 349]
stop
This just tells HttpQ to stop playing, it does not take any arguments
Tags:
Overrides
localplay_controller::stop() (parent method not documented)
method uninstall [line 111]
method update_instance [line 194]
void update_instance(
$uid,
$data)
|
|
update_instance
This takes an ID and an array of data and updates the instance specified
Tags:
Overrides
localplay_controller::update_instance() (parent method not documented)
Parameters:
method volume [line 427]
volume
This tells HttpQ to set the volume to the specified amount this is 0-100
Tags:
Parameters:
method volume_down [line 380]
This tells HttpQ to decrease the volume by Winamps default amount
Tags:
method volume_up [line 370]
This tells Httpq to increase the volume by WinAmps default amount
Tags: