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

Class: File_Ogg

Source Location: /File_Ogg-0.1.3/File/Ogg.php

Class Overview


Factory class for providing either a PEAR or PECL interface to an Ogg stream.


Methods


Inherited Variables

Inherited Methods


Class Details

[line 35]
Factory class for providing either a PEAR or PECL interface to an Ogg stream.

Due to the widespread availability of libraries from Xiph.Org, it is anticipated that a PECL version of this package will become available in the not-too-distant future. This class will provide a switch between the two modes if the PECL version is installed. Naturally, the PECL interface should offer speed benefits over the native PHP version (or PEAR as it is called throughout this package), and will be used as the preferred choice.



[ Top ]


Method Detail

openFile   [line 50]

object File_Ogg_Pear openFile( string $fileLocation)

Returns an interface to an Ogg physical stream.

This method acts as an interface to switch between the PECL and native-PHP versions of this package. At the time of writing, there is no PECL version so this class simply passes onto File_Ogg_PEAR. The aforementioned file can be called directly, but the author strongly recommends against this.


Parameters:

string   $fileLocation   —  The path of the file to be examined.

[ Top ]


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