diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-12 12:48:37 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-12 12:48:37 -0500 |
| commit | 74f19830f332bde9c022394f7fba744b5245e535 (patch) | |
| tree | bc546d15b72e41b91bbdb646a244e439b3f2f043 /phpBB/includes/template/twig/node/expression/binary/notequalequal.php | |
| parent | 95884edf08d962d0f8cf764f4870f910d4d65009 (diff) | |
| download | forums-74f19830f332bde9c022394f7fba744b5245e535.tar forums-74f19830f332bde9c022394f7fba744b5245e535.tar.gz forums-74f19830f332bde9c022394f7fba744b5245e535.tar.bz2 forums-74f19830f332bde9c022394f7fba744b5245e535.tar.xz forums-74f19830f332bde9c022394f7fba744b5245e535.zip | |
[feature/twig] Some additional operators, more stuff for IF
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/template/twig/node/expression/binary/notequalequal.php')
| -rw-r--r-- | phpBB/includes/template/twig/node/expression/binary/notequalequal.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/includes/template/twig/node/expression/binary/notequalequal.php b/phpBB/includes/template/twig/node/expression/binary/notequalequal.php new file mode 100644 index 0000000000..b53bc56b2d --- /dev/null +++ b/phpBB/includes/template/twig/node/expression/binary/notequalequal.php @@ -0,0 +1,16 @@ +<?php +/** +* +* @package phpBB3 +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* +*/ + +class phpbb_template_twig_node_expression_binary_notequalequal extends Twig_Node_Expression_Binary +{ + public function operator(Twig_Compiler $compiler) + { + return $compiler->raw('!=='); + } +} |
