Class ASF

Description

This class represents a file in Advanced Systems Format (ASF) as described in

The Advanced Systems Format (ASF) Specification. It is a file format that can contain various types of information ranging from audio and video to script commands and developer defined custom streams.

This is hardly a full implementation of a ASF reader but provides you with the ability to read metadata out of an ASF based file (WMA, WMV, etc).

The ASF file consists of code blocks that are called content objects. Each of these objects have a format of their own. They may contain other objects or other specific data. Each supported object has been implemented as their own classes to ease the correct use of the information.

Located in /ASF.php (line 70)


	
			
Method Summary
ASF __construct (string $filename)
boolean hasObjects ()
Methods
Constructor __construct (line 80)

Constructs the ASF class with given file.

  • access: public
ASF __construct (string $filename)
  • string $filename: The path to the file.
hasObjects (line 92)

Checks whether there are objects left in the stream. Returns true if there are objects left in the stream, false otherwise.

  • access: public
boolean hasObjects ()
nextObject (line 105)

Returns the next ASF object or false if end of stream has been reached. Returned objects are of the type ASF_Object or of any of its child types.

  • todo: Only the ASF_Header_Object top level object is regognized.
  • access: public
ASF_Object nextObject ()

Documentation generated on Tue, 15 Apr 2008 03:32:55 +0300 by phpDocumentor 1.4.1