Commit some uncommited documentation from my w/c
authorSam Reed <reedy@users.mediawiki.org>
Mon, 28 Feb 2011 16:37:34 +0000 (16:37 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 28 Feb 2011 16:37:34 +0000 (16:37 +0000)
includes/SquidPurgeClient.php
includes/job/JobQueue.php

index 1b315e5..d439b58 100644 (file)
@@ -305,6 +305,10 @@ class SquidPurgeClient {
 }
 
 class SquidPurgeClientPool {
+
+       /**
+        * @var array of SquidPurgeClient
+        */
        var $clients = array();
        var $timeout = 5;
 
@@ -314,6 +318,10 @@ class SquidPurgeClientPool {
                }
        }
 
+       /**
+        * @param $client SquidPurgeClient
+        * @return void
+        */
        public function addClient( $client ) {
                $this->clients[] = $client;
        }
index 2570284..7cc339e 100644 (file)
@@ -248,6 +248,12 @@ abstract class Job {
         * 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;