| 1 | <?php |
||
| 12 | class Urls |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Construct the URL from the correct values stored in the config |
||
| 16 | * |
||
| 17 | * @param $url |
||
| 18 | * @param $port |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function buildUrl($url, $port) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Check the admin user has added a URL scheme (default to http://) |
||
| 28 | * |
||
| 29 | * @param $url |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | private function _checkUrlScheme($url) |
||
| 41 | |||
| 42 | } |
||
| 43 |