MediaWiki  REL1_24
HistoryBlobStub Class Reference

Pointer object for an item within a CGZ blob stored in the text table. More...

Collaboration diagram for HistoryBlobStub:

List of all members.

Public Member Functions

 __construct ($hash= '', $oldid=0)
 getHash ()
 Get the content hash.
 getReferrer ()
 Gets the location of the referring object.
 getText ()
 setLocation ($id)
 Sets the location (old_id) of the main object to which this object points.
 setReferrer ($id)
 Sets the location (old_id) of the referring object.

Public Attributes

string $mHash
 *
int $mOldId
 *
string $mRef
 *

Static Protected Attributes

static $blobCache = array()

Detailed Description

Pointer object for an item within a CGZ blob stored in the text table.

Definition at line 190 of file HistoryBlob.php.


Constructor & Destructor Documentation

HistoryBlobStub::__construct ( hash = '',
oldid = 0 
)
Parameters:
string$hashThe content hash of the text
int$oldidThe old_id for the CGZ object

Definition at line 209 of file HistoryBlob.php.


Member Function Documentation

Get the content hash.

Returns:
string

Definition at line 298 of file HistoryBlob.php.

Gets the location of the referring object.

Returns:
string

Definition at line 234 of file HistoryBlob.php.

Returns:
string

Definition at line 241 of file HistoryBlob.php.

Sets the location (old_id) of the main object to which this object points.

Parameters:
int$id

Definition at line 218 of file HistoryBlob.php.

Referenced by CompressOld\compressWithConcat().

Sets the location (old_id) of the referring object.

Parameters:
string$id

Definition at line 226 of file HistoryBlob.php.


Member Data Documentation

HistoryBlobStub::$blobCache = array() [static, protected]

Definition at line 197 of file HistoryBlob.php.

string HistoryBlobStub::$mHash

*

Definition at line 201 of file HistoryBlob.php.

int HistoryBlobStub::$mOldId

*

Definition at line 199 of file HistoryBlob.php.

string HistoryBlobStub::$mRef

*

Definition at line 203 of file HistoryBlob.php.


The documentation for this class was generated from the following file: