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

Class: Net_CDDB_Protocol

Source Location: /Net_CDDB-0.3.0/CDDB/Protocol.php

Class Overview


Base class for basing CDDB protocol/access on


Methods


Child classes:

Net_CDDB_Protocol_CDDBP
Connection handler class for CDDBP protocol
Net_CDDB_Protocol_Filesystem
Connection protocol for querying local filesystem in FreeDB database dump format
Net_CDDB_Protocol_Mdb2
Connection protocol for querying a database import of FreeDB data
Net_CDDB_Protocol_HTTP
Connection class for CDDB access using HTTP wrappers

Inherited Variables

Inherited Methods


Class Details

[line 17]
Base class for basing CDDB protocol/access on


[ Top ]


Method Detail

remote   [line 74]

boolean remote( )

Tell whether or not a protocol acts on a remote resource

The Net_CDDB_Server command likes to know whether or not a particular protocol is accessing a remote server (HTTP or CDDBP) or a local version of the database. By default all protocols will inherit this field and report themselves as accessing remote resources. A protocol and override this method and return false to report local cddb access.

  • Access: public

Overridden in child classes as:

Net_CDDB_Protocol_Filesystem::remote()
Report this class as *not* accessing remote resources for protocol output
Net_CDDB_Protocol_Mdb2::remote()
Report this class as *not* accessing remote resources for protocol output

[ Top ]


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