r82939 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82938‎ | r82939 | r82940 >
Date:16:37, 28 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Commit some uncommited documentation from my w/c
Modified paths:
  • /trunk/phase3/includes/SquidPurgeClient.php (modified) (history)
  • /trunk/phase3/includes/job/JobQueue.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SquidPurgeClient.php
@@ -305,6 +305,10 @@
306306 }
307307
308308 class SquidPurgeClientPool {
 309+
 310+ /**
 311+ * @var array of SquidPurgeClient
 312+ */
309313 var $clients = array();
310314 var $timeout = 5;
311315
@@ -314,6 +318,10 @@
315319 }
316320 }
317321
 322+ /**
 323+ * @param $client SquidPurgeClient
 324+ * @return void
 325+ */
318326 public function addClient( $client ) {
319327 $this->clients[] = $client;
320328 }
Index: trunk/phase3/includes/job/JobQueue.php
@@ -248,6 +248,12 @@
249249 * Non-static functions
250250 *------------------------------------------------------------------------*/
251251
 252+ /**
 253+ * @param $command
 254+ * @param $title
 255+ * @param $params array
 256+ * @param int $id
 257+ */
252258 function __construct( $command, $title, $params = false, $id = 0 ) {
253259 $this->command = $command;
254260 $this->title = $title;

Status & tagging log