Scott Lanning > Mozilla-DOM-0.23 > Mozilla::DOM::Location

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::Location

Mozilla::DOM::Location is a wrapper around an instance of Mozilla's nsIDOMLocation interface. This class inherits from Supports.

CLASS METHODS ^

$iid = Mozilla::DOM::Location->GetIID()

Pass this to QueryInterface.

METHODS ^

$hash = $location->GetHash()

$location->SetHash($hash)

$host = $location->GetHost()

$location->SetHost($host)

$hostname = $location->GetHostname()

$location->SetHostname($hostname)

$href = $location->GetHref()

$location->SetHref($href)

$pathname = $location->GetPathname()

$location->SetPathname($pathname)

$port = $location->GetPort()

$location->SetPort($port)

$protocol = $location->GetProtocol()

$location->SetProtocol($protocol)

$search = $location->GetSearch()

$location->SetSearch($search)

$location->Assign($url)

$location->Reload($forceget)

$location->Replace($url)

$retval = $location->ToString()

SEE ALSO ^

Mozilla::DOM

COPYRIGHT ^

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.

syntax highlighting: