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
latte
latte
src
Latte
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/addlogo/home/vendor/latte/latte/src/Latte/Template.php
<?php /** * This file is part of the Latte (http://latte.nette.org) * Copyright (c) 2008 David Grudl (http://davidgrudl.com) */ namespace Latte; /** * Template. * @internal */ class Template extends Object { /** @var Engine */ private $engine; /** @var string */ private $name; /** @var array */ protected $params = array(); public function __construct(array $params, Engine $engine, $name) { $this->setParameters($params); $this->engine = $engine; $this->name = $name; } /** * @return Engine */ public function getEngine() { return $this->engine; } /** * @return string */ public function getName() { return $this->name; } /** * Initializes block, global & local storage in template. * @return [\stdClass, \stdClass, \stdClass] * @internal */ public function initialize($templateId, $contentType) { Runtime\Filters::$xhtml = (bool) preg_match('#xml|xhtml#', $contentType); // local storage $this->params['_l'] = new \stdClass; // block storage if (isset($this->params['_b'])) { $block = $this->params['_b']; unset($this->params['_b']); } else { $block = new \stdClass; } $block->templates[$templateId] = $this; // global storage if (!isset($this->params['_g'])) { $this->params['_g'] = new \stdClass; } return array($block, $this->params['_g'], $this->params['_l']); } /** * Renders template. * @return void * @internal */ public function renderChildTemplate($name, array $params = array()) { $name = $this->engine->getLoader()->getChildName($name, $this->name); $this->engine->render($name, $params); } /** * Call a template run-time filter. Do not call directly. * @param string filter name * @param array arguments * @return mixed */ public function __call($name, $args) { return $this->engine->invokeFilter($name, $args); } /********************* template parameters ****************d*g**/ /** * Sets all parameters. * @param array * @return self */ public function setParameters(array $params) { $this->params = $params; $this->params['template'] = $this; return $this; } /** * Returns array of all parameters. * @return array */ public function getParameters() { return $this->params; } /** * Sets a template parameter. Do not call directly. * @return void */ public function __set($name, $value) { $this->params[$name] = $value; } /** * Returns a template parameter. Do not call directly. * @return mixed value */ public function &__get($name) { if (!array_key_exists($name, $this->params)) { trigger_error("The variable '$name' does not exist in template.", E_USER_NOTICE); } return $this->params[$name]; } /** * Determines whether parameter is defined. Do not call directly. * @return bool */ public function __isset($name) { return isset($this->params[$name]); } /** * Removes a template parameter. Do not call directly. * @param string name * @return void */ public function __unset($name) { unset($this->params[$name]); } }
Crotin
Name
Size
Permissions
Modified
User/Group
MacroNode.php
1657
0644
2015-09-30 18:29:09
Unknown/Unknown
Tokenizer.php
1869
0644
2015-09-30 18:29:09
Unknown/Unknown
Token.php
1243
0644
2015-09-30 18:29:09
Unknown/Unknown
IMacro.php
591
0644
2015-09-30 18:29:08
Unknown/Unknown
Helpers.php
3075
0644
2015-09-30 18:29:08
Unknown/Unknown
Engine.php
8325
0644
2015-09-30 18:29:08
Unknown/Unknown
Parser.php
11824
0644
2015-09-30 18:29:09
Unknown/Unknown
Template.php
3094
0644
2015-09-30 18:29:09
Unknown/Unknown
Object.php
1277
0644
2015-09-30 18:29:08
Unknown/Unknown
TokenIterator.php
4764
0644
2015-09-30 18:29:08
Unknown/Unknown
PhpWriter.php
10495
0644
2015-09-30 18:29:09
Unknown/Unknown
ILoader.php
519
0644
2015-09-30 18:29:08
Unknown/Unknown
Macros
-
0755
2015-09-30 18:29:30
Unknown/Unknown
Compiler.php
16527
0644
2015-09-30 18:29:09
Unknown/Unknown
HtmlNode.php
677
0644
2015-09-30 18:29:08
Unknown/Unknown
MacroTokens.php
3134
0644
2015-09-30 18:29:09
Unknown/Unknown
Loaders
-
0755
2015-09-30 18:29:30
Unknown/Unknown
exceptions.php
1554
0644
2015-09-30 18:29:08
Unknown/Unknown
Runtime
-
0755
2015-09-30 18:29:29
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin