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


Classes:
File_XSPF
File_XSPF_Extension
File_XSPF_Handler
File_XSPF_Identifier
File_XSPF_Link
File_XSPF_Location
File_XSPF_Meta
File_XSPF_Track
Files:
example_1.php
example_2.php
example_3.php
example_4.php
Exception.php
Extension.php
Handler.php
Identifier.php
Link.php
Location.php
Meta.php
Track.php
XSPF.php

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 2019年3月11日 15:47:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /