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)

    • $aHash (string)

$host = $location->GetHost()

$location->SetHost($host)

    • $aHost (string)

$hostname = $location->GetHostname()

$location->SetHostname($hostname)

    • $aHostname (string)

$href = $location->GetHref()

$location->SetHref($href)

    • $aHref (string)

$pathname = $location->GetPathname()

$location->SetPathname($pathname)

    • $aPathname (string)

$port = $location->GetPort()

$location->SetPort($port)

    • $aPort (string)

$protocol = $location->GetProtocol()

$location->SetProtocol($protocol)

    • $aProtocol (string)

$search = $location->GetSearch()

$location->SetSearch($search)

    • $aSearch (string)

$location->Assign($url)

    • $url (string)

$location->Reload($forceget)

    • $forceget (boolean)

$location->Replace($url)

    • $url (string)

$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.