Index: trunk/phase3/includes/SquidPurgeClient.php |
— | — | @@ -305,6 +305,10 @@ |
306 | 306 | } |
307 | 307 | |
308 | 308 | class SquidPurgeClientPool { |
| 309 | + |
| 310 | + /** |
| 311 | + * @var array of SquidPurgeClient |
| 312 | + */ |
309 | 313 | var $clients = array(); |
310 | 314 | var $timeout = 5; |
311 | 315 | |
— | — | @@ -314,6 +318,10 @@ |
315 | 319 | } |
316 | 320 | } |
317 | 321 | |
| 322 | + /** |
| 323 | + * @param $client SquidPurgeClient |
| 324 | + * @return void |
| 325 | + */ |
318 | 326 | public function addClient( $client ) { |
319 | 327 | $this->clients[] = $client; |
320 | 328 | } |
Index: trunk/phase3/includes/job/JobQueue.php |
— | — | @@ -248,6 +248,12 @@ |
249 | 249 | * Non-static functions |
250 | 250 | *------------------------------------------------------------------------*/ |
251 | 251 | |
| 252 | + /** |
| 253 | + * @param $command |
| 254 | + * @param $title |
| 255 | + * @param $params array |
| 256 | + * @param int $id |
| 257 | + */ |
252 | 258 | function __construct( $command, $title, $params = false, $id = 0 ) { |
253 | 259 | $this->command = $command; |
254 | 260 | $this->title = $title; |