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

Class: Net_MPD

Source Location: /Net_MPD-0.1.0dev1/MPD.php

Class Overview


API for the factory portion of Music Player Daemon commands


Author(s):

Version:

  • CVS: $ID:$

Copyright:

  • 2006 Graham Christensen

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
API for the factory portion of Music Player Daemon commands

Used to utilize the functionality of the provided classes



[ Top ]


Method Detail

factory   [line 52]

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 ]


Documentation generated on Mon, 11 Mar 2019 14:48:00 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.