87bc3c3482adb60d05b31cff7c41e8fb9d762977
[auerswald-callnotifier.git] / src / callnotifier / EDSS1 / Parameter.php
1 <?php
2 namespace callnotifier;
3
4 /**
5  * A parameter is what the specs call a "information element"
6  */
7 class EDSS1_Parameter
8 {
9     const CALLING_PARTY_NUMBER = 0x6C;
10     const CALLED_PARTY_NUMBER = 0x70;
11     const CONNECTED_NUMBER = 0x4C;
12     const KEYPAD = 0x2C;
13
14     public $type;
15     public $length;
16     public $data;
17
18     /**
19      * Internal title of the parameter type
20      */
21     public $title;
22
23     public function __construct($type = null)
24     {
25         $this->type = $type;
26     }
27
28     public function setData($data)
29     {
30         $this->data = $data;
31     }
32 }
33
34 ?>