aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/node/expression/binary/notequalequal.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-06-12 12:48:37 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-06-12 12:48:37 -0500
commit74f19830f332bde9c022394f7fba744b5245e535 (patch)
treebc546d15b72e41b91bbdb646a244e439b3f2f043 /phpBB/includes/template/twig/node/expression/binary/notequalequal.php
parent95884edf08d962d0f8cf764f4870f910d4d65009 (diff)
downloadforums-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.php16
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('!==');
+ }
+}