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

Class: File_XSPF_Link

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

Class Overview


This class is the objectification of an XSPF Link element.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

getContent   [line 69]

string getContent( )

Get the content of this link object.

This method returns the content of this link object, which should be the URL of a resource following the specification stored in the relationship attribute.

  • Return: the URL of a non-XSPF web resource.
  • Access: public

[ Top ]

getRelationship   [line 83]

string getRelationship( )

Get the relationship of this link object.

This method returns the valid URI used to define the purpose of the content of this link element.

  • Return: the URI of this element's content purpose definition.
  • Access: public

[ Top ]

setContent   [line 99]

bool setContent( string $content)

Set the content of this link element.

This method sets the content of this link element, which should the be URL of a non-XSPF web resource, such as an RDF document.

  • Access: public

Parameters:

string   $content   —  the URL of a non-XSPF web resource.

[ Top ]

setRelationship   [line 120]

bool setRelationship( string $rel)

Set the relationship of this link element.

This method sets the URI of a resource used to define the purpose of the URL used as the content for this link element.

  • Access: public

Parameters:

string   $rel   —  the URI of a resource description definition.

[ Top ]


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