| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Environment |
JURI |
getPassword |
getPassword() |
Never | Work in Progress |
Gets the URI password. This function returns the password, or null if no password was specified.
string getPassword ()
Example
$uri = new JURI( 'http://user:secret@www.joomla.org?action=help#create' ); echo "Password: " . $uri->getPassword();
might produce:
Result
Password: secret