The url class, providing a representation of a url and operations on its component parts.
More...
|
host null | $host |
| $host the host component of this URL.
|
|
string null | $path |
| $path the path component of this URL.
|
|
string | $url |
| $url the full URL string.
|
|
The url class, providing a representation of a url and operations on its component parts.
- Copyright
- 2020 Jake Dallimore jrhda.nosp@m.llim.nosp@m.ore@g.nosp@m.mail.nosp@m..com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_moodlenet\local\url::__construct |
( |
string |
$url | ) |
|
The url constructor.
- Parameters
-
string | $url | the URL string. |
- Exceptions
-
◆ get_host()
tool_moodlenet\local\url::get_host |
( |
| ) |
|
Return the domain component of the URL.
- Return values
-
string|null | the domain component of the URL. |
◆ get_path()
tool_moodlenet\local\url::get_path |
( |
| ) |
|
Get the path component of the URL.
- Return values
-
string|null | the path component of the URL. |
◆ get_value()
tool_moodlenet\local\url::get_value |
( |
| ) |
|
Return the full URL string.
- Return values
-
string | the full URL string. |
The documentation for this class was generated from the following file:
- admin/tool/moodlenet/classes/local/url.php