Net_MPD
[ class tree: Net_MPD ] [ index: Net_MPD ] [ all elements ]

Class: Net_MPD

Source Location: /Net_MPD-1.0.2/Net/MPD.php

Class Overview


Central class for the Music Player Daemon objects


Author(s):

Version:

  • CVS: $ID:$

Copyright:

  • 2006 Graham Christensen

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 53]
Central class for the Music Player Daemon objects

Used to utilize the functionality of the provided classes



[ Top ]


Class Variables

$Admin =

[line 58]

The Net_MPD_Admin object
  • Access: public

Type:   mixed


[ Top ]

$Common =

[line 63]

The Net_MPD_Common object
  • Access: public

Type:   mixed


[ Top ]

$Database =

[line 68]

The Net_MPD_Database object
  • Access: public

Type:   mixed


[ Top ]

$Playback =

[line 73]

The Net_MPD_Playback object
  • Access: public

Type:   mixed


[ Top ]

$Playlist =

[line 78]

The Net_MPD_Playlist object
  • Access: public

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 87]

object or __construct( [$host $host = 'localhost'], [$port $port = 6600], [$pass $pass = null])

Creates new instances of objects
  • Return: false on failure

Parameters:

$host   $host   —  Host to connect to, optional (default: localhost)
$port   $port   —  Port to connect to, optional (default: 6600)
$pass   $pass   —  Pass to connect to, optional (default: null)

[ Top ]

factory   [line 104]

object or factory( $class $class, [$host $host = 'localhost'], [$port $port = 6600], [$pass $pass = null])

Creates new instances of objects
  • Return: false on failure
  • Access: public

Parameters:

$class   $class   —  Class to initiate, with out Net_MPD_$class
$host   $host   —  Host to connect to, optional (default: localhost)
$port   $port   —  Port to connect to, optional (default: 6600)
$pass   $pass   —  Pass to connect to, optional (default: null)

[ Top ]

_loadClass   [line 123]

bool _loadClass( $class $class)

Loads the class
  • Access: protected

Parameters:

$class   $class   —  Class to include, with out Net_MPD_

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:21:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.