Class ASF_HeaderObject

Description

The ASF_Header_Object object implementation. This object contains objects that give information about the file. See corresponding object classes for more.

Located in /ASF/HeaderObject.php (line 55)

ASF_Object
   |
   --ASF_HeaderObject
Method Summary
ASF_HeaderObject __construct (Reader $reader, string $id, integer $size)
integer getObjectCount ()
boolean hasChildObjects ()
Variables

Inherited Variables

Inherited from ASF_Object

ASF_Object::$_reader
ASF_Object::$_size
Methods
Constructor __construct (line 81)

Constructs the class with given parameters and reads object related data from the ASF file.

  • access: public
ASF_HeaderObject __construct (Reader $reader, string $id, integer $size)
  • Reader $reader: The reader object.
  • string $id: The object GUID identifier.
  • integer $size: The object size.

Redefinition of:
ASF_Object::__construct()
Constructs the class with given parameters.
getObjectCount (line 96)

Returns the number of standard ASF header objects this object contains.

  • access: public
integer getObjectCount ()
hasChildObjects (line 105)

Checks whether there is more to be read within the bounds of the parent object size. Returns true if there are child objects unread, false otherwise.

  • access: public
boolean hasChildObjects ()
nextChildObject (line 118)

Returns the next ASF object or false if end of stream has been reached. Returned objects are of the type ASFObject or of any of the other object types that inherit from that base class.

  • todo: Only limited subset of possible child objects are regognized.
  • access: public
ASF_Object|false nextChildObject ()

Inherited Methods

Inherited From ASF_Object

ASF_Object::__construct()
ASF_Object::getIdentifier()

Documentation generated on Tue, 15 Apr 2008 03:33:10 +0300 by phpDocumentor 1.4.1