0f20427ccf17325a06cc0cd9a4088bd656f668f8
[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 = "\x6C";
10     const CALLED_PARTY_NUMBER = "\x70";
11     const CONNECTED_NUMBER = "\x4C";
12     const KEYPAD = "\x2C";
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 ?>