![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de Uri:Fonctions membres publiques | |
| setVar ($name, $value) | |
| delVar ($name) | |
| setQuery ($query) | |
| setScheme ($scheme) | |
| setUser ($user) | |
| setPass ($pass) | |
| setHost ($host) | |
| setPort ($port) | |
| setPath ($path) | |
| setFragment ($anchor) | |
Fonctions membres publiques hérités de AbstractUri | |
| __construct ($uri=null) | |
| __toString () | |
| toString (array $parts=array('scheme', 'user', 'pass', 'host', 'port', 'path', 'query', 'fragment')) | |
| render ($parts=self::ALL) | |
| hasVar ($name) | |
| getVar ($name, $default=null) | |
| getQuery ($toArray=false) | |
| getScheme () | |
| getUser () | |
| getPass () | |
| getHost () | |
| getPort () | |
| getPath () | |
| getFragment () | |
| isSsl () | |
Membres hérités additionnels | |
Champs de données hérités de UriInterface | |
| 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 |
Fonctions membres protégées hérités de AbstractUri | |
| parse ($uri) | |
| cleanPath ($path) | |
Fonctions membres protégées statiques hérités de AbstractUri | |
| static | buildQuery (array $params) |
Attributs protégés hérités de AbstractUri | |
| $uri = null | |
| $scheme = null | |
| $host = null | |
| $port = null | |
| $user = null | |
| $pass = null | |
| $path = null | |
| $query = null | |
| $fragment = null | |
| $vars = array() | |
Uri Class
This class parses a URI and provides a common interface for the Joomla Framework to access and manipulate a URI.
| delVar | ( | $name | ) |
| setFragment | ( | $anchor | ) |
Set the URI anchor string everything after the "#".
| string | $anchor | The URI anchor string. |
| setHost | ( | $host | ) |
Set URI host.
| string | $host | The URI host. |
Références AbstractUri\$host.
| setPass | ( | $pass | ) |
Set URI password.
| string | $pass | The URI password. |
Références AbstractUri\$pass.
| setPath | ( | $path | ) |
Set the URI path string.
| string | $path | The URI path string. |
Références AbstractUri\$path, et AbstractUri\cleanPath().
| setPort | ( | $port | ) |
Set URI port.
| integer | $port | The URI port number. |
Références AbstractUri\$port.
| setQuery | ( | $query | ) |
Sets the query to a supplied string in format: foo=bar&x=y
| mixed | $query | The query string or array. |
Références AbstractUri\$query, et null.
| setScheme | ( | $scheme | ) |
Set URI scheme (protocol) ie. http, https, ftp, etc...
| string | $scheme | The URI scheme. |
Références AbstractUri\$scheme.
| setUser | ( | $user | ) |
Set URI username.
| string | $user | The URI username. |
Références AbstractUri\$user.
| setVar | ( | $name, | |
| $value | |||
| ) |
Adds a query variable and value, replacing the value if it already exists and returning the old value.
| string | $name | Name of the query variable to set. |
| string | $value | Value of the query variable. |