r63060 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63059‎ | r63060 | r63061 >
Date:21:09, 27 February 2010
Author:ialex
Status:ok
Tags:
Comment:
* Fixed some doxygen warnings
* Documented a bit
Modified paths:
  • /trunk/phase3/includes/HistoryBlob.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HistoryBlob.php
@@ -11,12 +11,15 @@
1212 * Adds an item of text, returns a stub object which points to the item.
1313 * You must call setLocation() on the stub object before storing it to the
1414 * database
15 - * Returns the key for getItem()
 15+ *
 16+ * @return String: the key for getItem()
1617 */
1718 public function addItem( $text );
1819
1920 /**
2021 * Get item by key, or false if the key is not present
 22+ *
 23+ * @return String or false
2124 */
2225 public function getItem( $key );
2326
@@ -32,6 +35,8 @@
3336
3437 /**
3538 * Get default text. This is called from Revision::getRevisionText()
 39+ *
 40+ * @return String
3641 */
3742 function getText();
3843 }
@@ -149,8 +154,8 @@
150155 var $mOldId, $mHash, $mRef;
151156
152157 /**
153 - * @param string $hash The content hash of the text
154 - * @param integer $oldid The old_id for the CGZ object
 158+ * @param $hash Strng: the content hash of the text
 159+ * @param $oldid Integer: the old_id for the CGZ object
155160 */
156161 function HistoryBlobStub( $hash = '', $oldid = 0 ) {
157162 $this->mHash = $hash;
@@ -246,7 +251,7 @@
247252 var $mCurId;
248253
249254 /**
250 - * @param integer $curid The cur_id pointed to
 255+ * @param $curid Integer: the cur_id pointed to
251256 */
252257 function HistoryBlobCurStub( $curid = 0 ) {
253258 $this->mCurId = $curid;

Status & tagging log