JURI/getPass
From Joomla! Documentation
< JURI(Difference between revisions)
(New page: Returns the password part of the URI represented by the JURI object. ===Syntax=== string getPass() ===Example=== <source lang="php"> $uri = 'http://fredbloggs:itsasecret@www.example.com:...) |
m (→See also: re-categorisation) |
||
| Line 15: | Line 15: | ||
* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#getPass JURI->getPass on api.joomla.org] | * [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#getPass JURI->getPass on api.joomla.org] | ||
* [[JURI/setPass|JURI->setPass]] | * [[JURI/setPass|JURI->setPass]] | ||
| − | <noinclude> | + | <noinclude>[[Category:JURI]]</noinclude> |
Latest revision as of 11:33, 9 August 2012
Returns the password part of the URI represented by the JURI object.
[edit] Syntax
string getPass()
[edit] Example
$uri = 'http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&id=32#anchorthis'; $u =& JURI::getInstance( $uri ); echo 'Password is ' . $u->getPass();
would output
Password is itsasecret