Class ASF_Object_ContentBranding

Description

The Content Branding Object stores branding data for an ASF file, including information about a banner image and copyright associated with the file.

Located in /ASF/Object/ContentBranding.php (line 54)

ASF_Object
   |
   --ASF_Object_ContentBranding
Class Constant Summary
Method Summary
ASF_Object_ContentBranding __construct (Reader $reader, [ &$options = array()], Array $options)
string getBannerImageData ()
integer getBannerImageType ()
string getBannerImageUrl ()
string getCopyrightUrl ()
Variables

Inherited Variables

Inherited from ASF_Object

ASF_Object::$_options
ASF_Object::$_reader
Methods
Constructor __construct (line 88)

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

  • access: public
ASF_Object_ContentBranding __construct (Reader $reader, [ &$options = array()], Array $options)
  • Reader $reader: The reader object.
  • Array $options: The options array.
  • &$options

Redefinition of:
ASF_Object::__construct()
Constructs the class with given parameters and options.
getBannerImageData (line 119)

Returns the entire banner image, including the header for the appropriate image format.

  • access: public
string getBannerImageData ()
getBannerImageType (line 111)

Returns the type of data contained in the Banner Image Data. Valid

values are 0 to indicate that there is no banner image data; 1 to indicate that the data represent a bitmap; 2 to indicate that the data represents a JPEG; and 3 to indicate that the data represents a GIF. If this value is set to 0, then the Banner Image Data Size field is set to 0, and the <i>Banner Image Data field is empty.

  • access: public
integer getBannerImageType ()
getBannerImageUrl (line 126)

Returns, if present, a link to more information about the banner image.

  • access: public
string getBannerImageUrl ()
getCopyrightUrl (line 134)

Returns, if present, a link to more information about the copyright for the content.

  • access: public
string getCopyrightUrl ()

Inherited Methods

Inherited From ASF_Object

ASF_Object::__construct()
ASF_Object::getIdentifier()
ASF_Object::getOffset()
ASF_Object::getOption()
ASF_Object::getOptions()
ASF_Object::getParent()
ASF_Object::getSize()
ASF_Object::setIdentifier()
ASF_Object::setOffset()
ASF_Object::setOption()
ASF_Object::setOptions()
ASF_Object::setParent()
ASF_Object::setSize()
ASF_Object::__get()
ASF_Object::__set()
Class Constants
TYPE_BMP = 1 (line 60)

Indicates that the data represents a bitmap

TYPE_GIF = 3 (line 66)

Indicates that the data represents a GIF

TYPE_JPEG = 2 (line 63)

Indicates that the data represents a JPEG

TYPE_NONE = 0 (line 57)

Indicates that there is no banner

Documentation generated on Fri, 05 Sep 2008 20:18:26 +0300 by phpDocumentor 1.4.1