summaryrefslogtreecommitdiff
path: root/lib/phptal/PHPTAL/Trigger.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/phptal/PHPTAL/Trigger.php')
-rw-r--r--lib/phptal/PHPTAL/Trigger.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/phptal/PHPTAL/Trigger.php b/lib/phptal/PHPTAL/Trigger.php
new file mode 100644
index 0000000..4eef8fc
--- /dev/null
+++ b/lib/phptal/PHPTAL/Trigger.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * PHPTAL templating engine
+ *
+ * PHP Version 5
+ *
+ * @category HTML
+ * @package PHPTAL
+ * @author Laurent Bedubourg <lbedubourg@motion-twin.com>
+ * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
+ * @version SVN: $Id$
+ * @link http://phptal.org/
+ */
+
+
+/**
+ * Interface for Triggers (phptal:id)
+ *
+ * @package PHPTAL
+ */
+interface PHPTAL_Trigger
+{
+ const SKIPTAG = 1;
+ const PROCEED = 2;
+
+ public function start($id, $tpl);
+
+ public function end($id, $tpl);
+}