r25924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25923‎ | r25924 | r25925 >
Date:22:45, 18 September 2007
Author:kim
Status:old
Tags:
Comment:
transaction.php, Yay documentation \o/ .
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/Transaction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/Transaction.php
@@ -5,6 +5,26 @@
66 require_once('RecordSet.php');
77 require_once('Wikidata.php');
88
 9+/**
 10+ * Transaction.php
 11+ *
 12+ * Manage internal transactions (NOT mysql transactions... confuzzeled yet?)
 13+ *
 14+ * To use:
 15+ *
 16+ * startNewTransaction($userId, $userIP, $comment, $dc)
 17+ * then do a getUpdateTransactionId() to find the id you need for
 18+ * add_transaction_id.
 19+ *
 20+ * Since this is not a mysql transaction, I don't THINK you need
 21+ * to close it. If you do, it wasn't documented.
 22+ *
 23+ * There's also something to do with restrictions. This is the only
 24+ * documentation you get so far. You're on your own now :-P
 25+ * (Please document anything else that's really needed for anything)
 26+ */
 27+
 28+
929 interface QueryTransactionInformation {
1030 public function getRestriction(Table $table);
1131 public function getTables();

Status & tagging log