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: {
- 72: }
- 76: /**
- 77: * Returns the script-path part of URI.
- 79: */
- 81: {
- 83: }
- 87: /**
- 88: * Returns the base-path.
- 90: */
- 92: {
- 94: }
- 98: /**
- 99: * Returns the base-URI.
- 101: */
- 103: {
- 105: }
- 109: /**
- 110: * Returns the relative-URI.
- 112: */
- 114: {
- 116: }
- 120: /**
- 121: * Returns the additional path information.
- 123: */
- 125: {
- 127: }
- 129: }