Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__toString () | |
toString ($parts=['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 archor string
Implémenté dans AbstractUri.
getHost | ( | ) |
Get the URI host
Implémenté dans AbstractUri.
getPass | ( | ) |
Get the URI password
Implémenté dans AbstractUri.
getPath | ( | ) |
getPort | ( | ) |
Get the URI port
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 | ( | ) |
getUser | ( | ) |
Get the URI username
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 | ( | $parts = ['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 |