Blame view

src/Request/ParamsRequestImpl/Nodes/Infos/InfoParamTableDefBoundsNodeClass.php 813 Bytes
944199fe   Benjamin Renard   Use table definit...
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
<?php

define ("INFOPARAMTABLEDEFBOUNDS_TAGNAME", "boundsTable");
define ("INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME", "boundsName");

/**
 * @class InfoParamTableDefBoundsNodeClass
 * @brief Definition of a bounds table
 * @details
 */
class InfoParamTableDefBoundsNodeClass extends InfoParamTableDefNodeClass
{
	public function __construct()
	{
		parent::__construct(INFOPARAMTABLEDEFBOUNDS_TAGNAME);
	}

	public function setBoundsName($boundsName)
	{
		$this->setAttribute(INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME,$boundsName);
	}

	public function getBoundsName()
	{
		return $this->getAttribute(INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME);
	}
966bd5f8   Benjamin Renard   Add request to ge...
27
28
29
30
31
32
	
	public function loadFromNode($xmlNode)
	{
		parent::loadFromNode($xmlNode);
		$this->setBoundsName($this->getXmlNodeAttribute($xmlNode, INFOPARAMTABLEDEFBOUNDS_BOUNDSNAME));
	}
944199fe   Benjamin Renard   Use table definit...
33
34
35
}

?>