summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ISurroundable.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ISurroundable.php')
-rw-r--r--framework/Web/UI/ISurroundable.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/framework/Web/UI/ISurroundable.php b/framework/Web/UI/ISurroundable.php
new file mode 100644
index 00000000..42be16bb
--- /dev/null
+++ b/framework/Web/UI/ISurroundable.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * TControl, TControlCollection, TEventParameter and INamingContainer class file
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005-2014 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @package System.Web.UI
+ */
+
+/**
+ * ISurroundable interface
+ *
+ * Identifies controls that may create an additional surrounding tag. The id of the
+ * tag can be obtained with {@link getSurroundingTagID}.
+ *
+ * @package System.Web.UI
+ * @since 3.1.2
+ */
+interface ISurroundable
+{
+ /**
+ * @return string the id of the embedding tag of the control or the control's clientID if not surrounded
+ */
+ public function getSurroundingTagID();
+} \ No newline at end of file