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
www
api
2
root
app
RestTrush
Url
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/2/root/app/RestTrush/Url/Url.php
<?php /** * Copyright (c) Jan Pospisil (http://www.jan-pospisil.cz) */ namespace Rest\Url; use RestServer\IPresenter; use RestServer\IParametrs; use RestServer\Response; use Nette\Database\Context; /** * Get full list of url * @author Jan Pospisil */ class Url extends \Nette\Object implements IPresenter { private $connection; public function __construct(Context $context){ $this->connection = $context; } public function run(IParametrs $parameters, Response $response) { $return = array(); foreach($this->connection->table('url') as $url){ $return[] = array( 'path' => $url->path, 'priority' => $url->priority, 'change_frequency' => $url->change_frequency, 'url' => $url->url ); } $response->data = $return; $response->setStatusCode(201); } public static function getReturnExample(){ return array( array( 'path' => 'news.article⁄default⁄1', 'change_frequency' => 'weekly', 'priority' => '0.64', 'url' => 'news⁄article1' ), array( 'path' => 'news.article⁄default⁄2', 'change_frequency' => 'weekly', 'priority' => '0.64', 'url' => 'news⁄article2' ) ); } }
Crotin
Name
Size
Permissions
Modified
User/Group
Add.php
1977
0644
2016-04-16 10:22:15
Unknown/Unknown
Url.php
1194
0644
2016-04-16 10:22:15
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin