summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ISurroundable.php
blob: 65f4996ec8e6131be5dcc8e8a803bc4357fc8e0e (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
<?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 Prado\Web\UI
 */

namespace Prado\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 Prado\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();
}