summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ITemplate.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ITemplate.php')
-rw-r--r--framework/Web/UI/ITemplate.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/framework/Web/UI/ITemplate.php b/framework/Web/UI/ITemplate.php
new file mode 100644
index 00000000..91701aab
--- /dev/null
+++ b/framework/Web/UI/ITemplate.php
@@ -0,0 +1,31 @@
+<?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
+ */
+
+/**
+ * ITemplate interface
+ *
+ * ITemplate specifies the interface for classes encapsulating
+ * parsed template structures.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @package System.Web.UI
+ * @since 3.0
+ */
+interface ITemplate
+{
+ /**
+ * Instantiates the template.
+ * Content in the template will be instantiated as components and text strings
+ * and passed to the specified parent control.
+ * @param TControl the parent control
+ */
+ public function instantiateIn($parent);
+} \ No newline at end of file