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