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

Class: File_XSPF_Location

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

Class Overview


This class is the objectification of an XSPF Location element.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

File_XSPF_Location (Constructor)   [line 63]

File_XSPF_Location File_XSPF_Location( [string $url = null])

Set the URL of this location.

This method is the constructor for this class, and provides a way to avoid instantiating the class and calling the setURL method.

  • Access: public

Parameters:

string   $url   —  Location

[ Top ]

getUrl   [line 78]

string getUrl( )

Get the URL for this location.

This method returns the URL for this location object.

  • Return: a valid URL
  • Access: public

[ Top ]

setUrl   [line 94]

bool setUrl( string $url)

Sets the location data.

This method sets the URL of this location element. The location parameter must be a valid URL.

  • Access: public

Parameters:

string   $url   —  a valid URL

[ Top ]


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