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

Class: File_XSPF_Extension

Source Location: /File_XSPF-0.3.1/File/XSPF/Extension.php

Class Overview


This class is the objectification of an XSPF Extension element.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
This class is the objectification of an XSPF Extension element.


[ Top ]


Method Detail

getApplication   [line 69]

string getApplication( )

Get the application URI for this extension.

This method returns a URI of a resource used to define the structure and purpose of the extension content.

  • Return: the URI of the resource used to define the extension content.
  • Access: public

[ Top ]

getContent   [line 83]

string getContent( )

Get the content of this extension.

This method returns the content of this extension object, which will be is be a string of xml data.

  • Return: an XML document fragment.
  • Access: public

[ Top ]

setApplication   [line 99]

bool setApplication( string $application)

Set the URI of the resource to define this extension.

This method sets the URI of the resource used to define the structure and purpose of this extension content.

  • Access: public

Parameters:

string   $application   —  the URI of the application definition.

[ Top ]

setContent   [line 120]

void setContent( string $content)

Set the content of this extension.

This method sets the content of this extension. The supplied string should be valid XML data.

  • Access: public

Parameters:

string   $content   —  a valid XML document fragment.

[ Top ]


Documentation generated on Wed, 09 Dec 2015 22:59:22 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.