blob: 2c773aed9d860ea9f4521ab84a441c4abb1b699b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?php
/**
* TTableHeaderRow class file
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
* @package Prado\Web\UI\WebControls
*/
namespace Prado\Web\UI\WebControls;
use Prado\Exceptions\TInvalidOperationException;
/**
* TTableHeaderRow class.
*
* TTableHeaderRow displays a table header row.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @package Prado\Web\UI\WebControls
* @since 3.0.1
*/
class TTableHeaderRow extends TTableRow
{
/**
* @return string location of a row in a table. Always returns 'Header'.
*/
public function getTableSection()
{
return 'Header';
}
/**
* @param string location of a row in a table.
* @throws TInvalidOperationException if this method is invoked
*/
public function setTableSection($value)
{
throw new TInvalidOperationException('tableheaderrow_tablesection_readonly');
}
}
|