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 http://nettephp.com
- 12: *
- 18: */
- 26: /**
- 27: * Extended HTTP URL.
- 28: *
- 29: * <pre>
- 30: * basePath relativeUri
- 31: * | |
- 32: * /-----\/------------------\
- 33: * http://nettephp.com/admin/script.php/pathinfo/?name=param#fragment
- 34: * \_______________/\________/
- 35: * | |
- 36: * scriptPath pathInfo
- 37: * </pre>
- 38: *
- 39: * - basePath: /admin/ (everything before relative URI not including the script name)
- 40: * - baseUri: http://nettephp.com/admin/
- 41: * - scriptPath: /admin/script.php
- 42: * - relativeUri: script.php/pathinfo/
- 43: * - pathInfo: /pathinfo/ (additional path information)
- 44: *
- 48: *
- 54: */
- 56: {
- 62: /**
- 63: * Sets the script-path part of URI.
- 66: */
- 68: {
- 71: }
- 75: /**
- 76: * Returns the script-path part of URI.
- 78: */
- 80: {
- 82: }
- 86: /**
- 87: * Returns the base-path.
- 89: */
- 91: {
- 93: }
- 97: /**
- 98: * Returns the base-URI.
- 100: */
- 102: {
- 104: }
- 108: /**
- 109: * Returns the relative-URI.
- 111: */
- 113: {
- 115: }
- 119: /**
- 120: * Returns the additional path information.
- 122: */
- 124: {
- 126: }
- 128: }