Skip to content

Commit 85d51e1

Browse files
committed
addede documentation by phing
1 parent ab9a413 commit 85d51e1

File tree

45 files changed

+23159
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+23159
-163
lines changed

doc/ApiIndex.md

Lines changed: 202 additions & 158 deletions
Large diffs are not rendered by default.

doc/PAMI-Client-Impl-ClientImpl.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Properties
1919

2020
### $logger
2121

22-
private \PAMI\Client\Impl\Logger $logger
22+
private \Psr\Log\LoggerInterface $logger
2323

2424
PSR-3 logger.
2525

@@ -181,6 +181,17 @@ corresponding ActionId.
181181

182182

183183

184+
* Visibility: **private**
185+
186+
187+
### $eventMask
188+
189+
private string $eventMask
190+
191+
Event mask to apply on login action.
192+
193+
194+
184195
* Visibility: **private**
185196

186197

Lines changed: 310 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,310 @@
1+
PAMI\Message\Action\BlindTransferAction
2+
===============
3+
4+
BlindTransfer action message.
5+
6+
PHP Version 5
7+
8+
9+
* Class name: BlindTransferAction
10+
* Namespace: PAMI\Message\Action
11+
* Parent class: [PAMI\Message\Action\ActionMessage](PAMI-Message-Action-ActionMessage.md)
12+
13+
14+
15+
Constants
16+
----------
17+
18+
19+
### EOL
20+
21+
const EOL = "\r\n"
22+
23+
24+
25+
26+
27+
### EOM
28+
29+
const EOM = "\r\n\r\n"
30+
31+
32+
33+
34+
35+
Properties
36+
----------
37+
38+
39+
### $lines
40+
41+
protected array<mixed,string> $lines
42+
43+
Message content, line by line. This is what it gets sent
44+
or received literally.
45+
46+
47+
48+
* Visibility: **protected**
49+
50+
51+
### $variables
52+
53+
protected array<mixed,string> $variables
54+
55+
Metadata. Message variables (key/value).
56+
57+
58+
59+
* Visibility: **protected**
60+
61+
62+
### $keys
63+
64+
protected array<mixed,string> $keys
65+
66+
Metadata. Message "keys" i.e: Action: login
67+
68+
69+
70+
* Visibility: **protected**
71+
72+
73+
### $createdDate
74+
75+
protected integer $createdDate
76+
77+
Created date (unix timestamp).
78+
79+
80+
81+
* Visibility: **protected**
82+
83+
84+
Methods
85+
-------
86+
87+
88+
### __construct
89+
90+
void PAMI\Message\Message::__construct()
91+
92+
Constructor.
93+
94+
95+
96+
* Visibility: **public**
97+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
98+
99+
100+
101+
102+
### setActionID
103+
104+
void PAMI\Message\Action\ActionMessage::setActionID($actionID)
105+
106+
Sets Action ID.
107+
108+
The ActionID can be at most 69 characters long, according to
109+
[Asterisk Issue 14847](https://issues.asterisk.org/jira/browse/14847).
110+
111+
Therefore we'll throw an exception when the ActionID is too long.
112+
113+
* Visibility: **public**
114+
* This method is defined by [PAMI\Message\Action\ActionMessage](PAMI-Message-Action-ActionMessage.md)
115+
116+
117+
#### Arguments
118+
* $actionID **mixed** - &lt;p&gt;The Action ID to have this action known by&lt;/p&gt;
119+
120+
121+
122+
### __sleep
123+
124+
array<mixed,string> PAMI\Message\Message::__sleep()
125+
126+
Serialize function.
127+
128+
129+
130+
* Visibility: **public**
131+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
132+
133+
134+
135+
136+
### getCreatedDate
137+
138+
integer PAMI\Message\Message::getCreatedDate()
139+
140+
Returns created date.
141+
142+
143+
144+
* Visibility: **public**
145+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
146+
147+
148+
149+
150+
### setVariable
151+
152+
void PAMI\Message\Message::setVariable(string $key, string $value)
153+
154+
Adds a variable to this message.
155+
156+
157+
158+
* Visibility: **public**
159+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
160+
161+
162+
#### Arguments
163+
* $key **string** - &lt;p&gt;Variable name.&lt;/p&gt;
164+
* $value **string** - &lt;p&gt;Variable value.&lt;/p&gt;
165+
166+
167+
168+
### getVariable
169+
170+
string PAMI\Message\Message::getVariable(string $key)
171+
172+
Returns a variable by name.
173+
174+
175+
176+
* Visibility: **public**
177+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
178+
179+
180+
#### Arguments
181+
* $key **string** - &lt;p&gt;Variable name.&lt;/p&gt;
182+
183+
184+
185+
### setKey
186+
187+
void PAMI\Message\Message::setKey(string $key, string $value)
188+
189+
Adds a variable to this message.
190+
191+
192+
193+
* Visibility: **protected**
194+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
195+
196+
197+
#### Arguments
198+
* $key **string** - &lt;p&gt;Key name (i.e: Action).&lt;/p&gt;
199+
* $value **string** - &lt;p&gt;Key value.&lt;/p&gt;
200+
201+
202+
203+
### getKey
204+
205+
string PAMI\Message\Message::getKey(string $key)
206+
207+
Returns a key by name.
208+
209+
210+
211+
* Visibility: **public**
212+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
213+
214+
215+
#### Arguments
216+
* $key **string** - &lt;p&gt;Key name (i.e: Action).&lt;/p&gt;
217+
218+
219+
220+
### getKeys
221+
222+
array<mixed,string> PAMI\Message\Message::getKeys()
223+
224+
Returns all keys for this message.
225+
226+
227+
228+
* Visibility: **public**
229+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
230+
231+
232+
233+
234+
### getVariables
235+
236+
array<mixed,string> PAMI\Message\Message::getVariables()
237+
238+
Returns all variabels for this message.
239+
240+
241+
242+
* Visibility: **public**
243+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
244+
245+
246+
247+
248+
### finishMessage
249+
250+
string PAMI\Message\Message::finishMessage($message)
251+
252+
Returns the end of message token appended to the end of a given message.
253+
254+
255+
256+
* Visibility: **protected**
257+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
258+
259+
260+
#### Arguments
261+
* $message **mixed**
262+
263+
264+
265+
### serializeVariable
266+
267+
string PAMI\Message\Message::serializeVariable(string $key, string $value)
268+
269+
Returns the string representation for an ami action variable.
270+
271+
272+
273+
* Visibility: **private**
274+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
275+
276+
277+
#### Arguments
278+
* $key **string**
279+
* $value **string**
280+
281+
282+
283+
### serialize
284+
285+
string PAMI\Message\Message::serialize()
286+
287+
Gives a string representation for this message, ready to be sent to
288+
ami.
289+
290+
291+
292+
* Visibility: **public**
293+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
294+
295+
296+
297+
298+
### getActionID
299+
300+
string PAMI\Message\Message::getActionID()
301+
302+
Returns key: 'ActionID'.
303+
304+
305+
306+
* Visibility: **public**
307+
* This method is defined by [PAMI\Message\Message](PAMI-Message-Message.md)
308+
309+
310+

0 commit comments

Comments
 (0)