Source for file UriScript.php
Documentation is available at UriScript.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 27: /**
- 28: * Extended HTTP URL.
- 29: *
- 30: * <pre>
- 31: * basePath relativeUri
- 32: * | |
- 33: * /-----\/------------------\
- 34: * https://nette.org/admin/script.php/pathinfo/?name=param#fragment
- 35: * \_______________/\________/
- 36: * | |
- 37: * scriptPath pathInfo
- 38: * </pre>
- 39: *
- 40: * - basePath: /admin/ (everything before relative URI not including the script name)
- 41: * - baseUri: https://nette.org/admin/
- 42: * - scriptPath: /admin/script.php
- 43: * - relativeUri: script.php/pathinfo/
- 44: * - pathInfo: /pathinfo/ (additional path information)
- 45: *
- 49: */
- 51: {
- 57: /**
- 58: * Returns the base-path.
- 60: */
- 62: {
- 64: }
- 68: /**
- 69: * Returns the base-URI.
- 71: */
- 73: {
- 75: }
- 79: /**
- 80: * Returns the relative-URI.
- 82: */
- 84: {
- 86: }
- 90: /**
- 91: * Returns the additional path information.
- 93: */
- 95: {
- 97: }
- 99: }