summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TTableFooterRow.php
diff options
context:
space:
mode:
authorxue <>2006-05-04 13:45:09 +0000
committerxue <>2006-05-04 13:45:09 +0000
commitad005a0cfb526a41d04dd5260df654845ef68f5b (patch)
tree393ebcc8313e9bffef64c06406553c12348f80ff /framework/Web/UI/WebControls/TTableFooterRow.php
parent49ccf41324a2c87b20b84f72355b79d92d6f3d0c (diff)
Added table section support.
Diffstat (limited to 'framework/Web/UI/WebControls/TTableFooterRow.php')
-rw-r--r--framework/Web/UI/WebControls/TTableFooterRow.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php
new file mode 100644
index 00000000..3b178d52
--- /dev/null
+++ b/framework/Web/UI/WebControls/TTableFooterRow.php
@@ -0,0 +1,48 @@
+<?php
+/**
+ * TTableFooterRow class file
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @version $Revision: $ $Date: $
+ * @package System.Web.UI.WebControls
+ */
+
+/**
+ * Includes TTableRow class.
+ */
+Prado::using('System.Web.UI.WebControls.TTableRow');
+
+/**
+ * TTableFooterRow class.
+ *
+ * TTableFooterRow displays a table footer row.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @version $Revision: $ $Date: $
+ * @package System.Web.UI.WebControls
+ * @since 3.0.1
+ */
+class TTableFooterRow extends TTableRow
+{
+ /**
+ * @return string location of a row in a table. Always returns 'Footer'.
+ */
+ public function getTableSection()
+ {
+ return 'Footer';
+ }
+
+ /**
+ * @param string location of a row in a table.
+ * @throws TInvalidOperationException if this method is invoked
+ */
+ public function setTableSection($value)
+ {
+ throw new TInvalidOperationException('tablefooterrow_tablesection_readonly');
+ }
+}
+
+?> \ No newline at end of file