http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82939
Revision: 82939
Author: reedy
Date: 2011-02-28 16:37:34 +0000 (Mon, 28 Feb 2011)
Log Message:
-----------
Commit some uncommited documentation from my w/c
Modified Paths:
--------------
trunk/phase3/includes/SquidPurgeClient.php
trunk/phase3/includes/job/JobQueue.php
Modified: trunk/phase3/includes/SquidPurgeClient.php
===================================================================
--- trunk/phase3/includes/SquidPurgeClient.php 2011-02-28 16:35:58 UTC (rev
82938)
+++ trunk/phase3/includes/SquidPurgeClient.php 2011-02-28 16:37:34 UTC (rev
82939)
@@ -305,6 +305,10 @@
}
class SquidPurgeClientPool {
+
+ /**
+ * @var array of SquidPurgeClient
+ */
var $clients = array();
var $timeout = 5;
@@ -314,6 +318,10 @@
}
}
+ /**
+ * @param $client SquidPurgeClient
+ * @return void
+ */
public function addClient( $client ) {
$this->clients[] = $client;
}
Modified: trunk/phase3/includes/job/JobQueue.php
===================================================================
--- trunk/phase3/includes/job/JobQueue.php 2011-02-28 16:35:58 UTC (rev
82938)
+++ trunk/phase3/includes/job/JobQueue.php 2011-02-28 16:37:34 UTC (rev
82939)
@@ -248,6 +248,12 @@
* Non-static functions
*------------------------------------------------------------------------*/
+ /**
+ * @param $command
+ * @param $title
+ * @param $params array
+ * @param int $id
+ */
function __construct( $command, $title, $params = false, $id = 0 ) {
$this->command = $command;
$this->title = $title;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs