1<?php
2/**
3* @package tests
4*/
5/**
6* @package tests
7*/
8class iiparserBase
9{
10	/**
11	* always base
12	* @var string
13	*/
14	var $type = 'base';
15	/**
16	* set to different things by its descendants
17	* @abstract
18	* @var mixed
19	*/
20	var $value = false;
21
22	/**
23	* @return string returns value of {@link $type)
24	*/
25	function getType()
26	{
27		return $this->type;
28	}
29
30	/**
31	* @param mixed set the value of this element
32	*/
33	function setValue($value)
34	{
35		$this->value = $value;
36	}
37
38	/**
39	* @return mixed get the value of this element (element-dependent)
40	*/
41	function getValue()
42	{
43		return $this->value;
44	}
45}
46?>