RequestOutputPlotAdditionalObjectsNodeClass.php 655 Bytes
<?php

define ("REQUESTOUTPUTPLOTADDITIONALOBJECTS_NAME", "additionalObjects");

/**
 * @class RequestOutputPlotAdditionalObjectsNodeClass
 * @brief Definition of additional objects for a plot
 * @details
 */
class RequestOutputPlotAdditionalObjectsNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTADDITIONALOBJECTS_NAME);
	}
	
	public function addTextObject()
	{
		$node = new RequestOutputPlotTextNodeClass();
		$this->addChild($node);
		return $node;
	}
	
	public function addCurveObject()
	{
		$node = new RequestOutputPlotCurveObjectNodeClass();
		$this->addChild($node);
		return $node;
	}
}

?>