Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__toString () | |
toString (array $parts=array('scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment')) | |
hasVar ($name) | |
getVar ($name, $default=null) | |
getQuery ($toArray=false) | |
getScheme () | |
getUser () | |
getPass () | |
getHost () | |
getPort () | |
getPath () | |
getFragment () | |
isSsl () | |
Champs de données | |
const | SCHEME = 1 |
const | USER = 2 |
const | PASS = 4 |
const | HOST = 8 |
const | PORT = 16 |
const | PATH = 32 |
const | QUERY = 64 |
const | FRAGMENT = 128 |
const | ALL = 255 |
__toString | ( | ) |
Magic method to get the string representation of the URI object.
Implémenté dans AbstractUri.
getFragment | ( | ) |
Get the URI anchor string Everything after the "#".
Implémenté dans AbstractUri.
getHost | ( | ) |
Get URI host Returns the hostname/ip or null if no hostname/ip was specified.
Implémenté dans AbstractUri.
getPass | ( | ) |
Get URI password Returns the password, or null if no password was specified.
Implémenté dans AbstractUri.
getPath | ( | ) |
getPort | ( | ) |
Get URI port Returns the port number, or null if no port was specified.
Implémenté dans AbstractUri.
getQuery | ( | $toArray = false | ) |
Returns flat query string.
boolean | $toArray | True to return the query as a key => value pair array. |
Implémenté dans AbstractUri.
getScheme | ( | ) |
Get URI scheme (protocol) ie. http, https, ftp, etc...
Implémenté dans AbstractUri.
getUser | ( | ) |
Get URI username Returns the username, or null if no username was specified.
Implémenté dans AbstractUri.
getVar | ( | $name, | |
$default = null |
|||
) |
Returns a query variable by name.
string | $name | Name of the query variable to get. |
string | $default | Default value to return if the variable is not set. |
Implémenté dans AbstractUri.
hasVar | ( | $name | ) |
Checks if variable exists.
string | $name | Name of the query variable to check. |
Implémenté dans AbstractUri.
isSsl | ( | ) |
Checks whether the current URI is using HTTPS.
Implémenté dans AbstractUri.
toString | ( | array | $parts = array('scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment') | ) |
Returns full uri string.
array | $parts | An array of strings specifying the parts to render. |
Implémenté dans AbstractUri.
const ALL = 255 |
const FRAGMENT = 128 |
const HOST = 8 |
const PASS = 4 |
const PATH = 32 |
const PORT = 16 |
const QUERY = 64 |
const SCHEME = 1 |
const USER = 2 |