diff options
Diffstat (limited to 'phpBB/phpbb/template/twig/node/expression')
-rw-r--r-- | phpBB/phpbb/template/twig/node/expression/binary/equalequal.php | 27 | ||||
-rw-r--r-- | phpBB/phpbb/template/twig/node/expression/binary/notequalequal.php | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/twig/node/expression/binary/equalequal.php b/phpBB/phpbb/template/twig/node/expression/binary/equalequal.php new file mode 100644 index 0000000000..48d8b814b8 --- /dev/null +++ b/phpBB/phpbb/template/twig/node/expression/binary/equalequal.php @@ -0,0 +1,27 @@ +<?php +/** +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +namespace phpbb\template\twig\node\expression\binary; + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + + +class equalequal extends \Twig_Node_Expression_Binary +{ + public function operator(\Twig_Compiler $compiler) + { + return $compiler->raw('==='); + } +} diff --git a/phpBB/phpbb/template/twig/node/expression/binary/notequalequal.php b/phpBB/phpbb/template/twig/node/expression/binary/notequalequal.php new file mode 100644 index 0000000000..87585dfb4c --- /dev/null +++ b/phpBB/phpbb/template/twig/node/expression/binary/notequalequal.php @@ -0,0 +1,27 @@ +<?php +/** +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +namespace phpbb\template\twig\node\expression\binary; + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + + +class notequalequal extends \Twig_Node_Expression_Binary +{ + public function operator(\Twig_Compiler $compiler) + { + return $compiler->raw('!=='); + } +} |