MediaWiki REL1_37
HistoryBlob.php
Go to the documentation of this file.
1<?php
28interface HistoryBlob {
38 public function addItem( $text );
39
47 public function getItem( $key );
48
59 public function setText( $text );
60
66 public function getText();
67}
Base class for general text storage via the "object" flag in old_flags, or two-part external storage ...
setText( $text)
Set the "default text" This concept is an odd property of the current DB schema, whereby each text it...
getText()
Get default text.
getItem( $key)
Get item by key, or false if the key is not present.
addItem( $text)
Adds an item of text, returns a stub object which points to the item.