MediaWiki
master
Toggle main menu visibility
HistoryBlob.php
Go to the documentation of this file.
1
<?php
8
9
// NO_NAMESPACE Compatibility with serialized objects in permanent storage
10
16
interface
HistoryBlob
{
26
public
function
addItem
( $text );
27
35
public
function
getItem
( $key );
36
47
public
function
setText
( $text );
48
54
public
function
getText
();
55
60
public
function
isHappy
(): bool;
61
}
HistoryBlob
Base class for general text storage via the "object" flag in old_flags, or two-part external storage ...
Definition
HistoryBlob.php:16
HistoryBlob\setText
setText( $text)
Set the "default text" This concept is an odd property of the current DB schema, whereby each text it...
HistoryBlob\getText
getText()
Get default text.
HistoryBlob\isHappy
isHappy()
Helper function for compression jobs Returns true until the object is "full" and ready to be committe...
HistoryBlob\getItem
getItem( $key)
Get item by key, or false if the key is not present.
HistoryBlob\addItem
addItem( $text)
Adds an item of text, returns a stub object which points to the item.
includes
HistoryBlob
HistoryBlob.php
Generated on
for MediaWiki by
1.18.0