Blame view

src/Request/ParamsRequestImpl/Nodes/Params/ParamGetAmdaParamNodeClass.php 725 Bytes
22521f1c   Benjamin Renard   First commit
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 ("PARAMGETAMDAPARAM_NAME", "amdaParam");
define ("PARAMGETAMDAPARAM_NAMEATT", "name");

/**
 * @class ParamGetAmdaParamNodeClass
 * @brief Definition of a amdaParam getter for AMDA_Kernel
 * @details
*/
class ParamGetAmdaParamNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(PARAMGETAMDAPARAM_NAME);
	}

	public function setParamName($name)
	{
		$this->setAttribute(PARAMGETAMDAPARAM_NAMEATT, $name);
	}

	public function getParamName()
	{
		return $this->getAttribute(PARAMGETAMDAPARAM_NAMEATT);
	}
966bd5f8   Benjamin Renard   Add request to ge...
27
28
29
30
31
	
	public function loadFromNode($xmlNode)
	{
		$this->setParamName($this->getXmlNodeAttribute($xmlNode, PARAMGETAMDAPARAM_NAMEATT));
	}
22521f1c   Benjamin Renard   First commit
32
33
34
}

?>