CgzCopyTransaction Class Reference

Class to represent a recompression operation for a single CGZ blob. More...

List of all members.

Public Member Functions

 __construct ($parent, $blobClass)
 Create a transaction from a RecompressTracked object.
 addItem ($text, $textId)
 Add text.
 getSize ()
 recompress ()
 Recompress text after some aberrant modification.
 commit ()
 Commit the blob.

Public Attributes

 $parent
 $blobClass
 $cgz
 $referrers


Detailed Description

Class to represent a recompression operation for a single CGZ blob.

Definition at line 617 of file recompressTracked.php.


Constructor & Destructor Documentation

CgzCopyTransaction::__construct ( parent,
blobClass 
)

Create a transaction from a RecompressTracked object.

Definition at line 626 of file recompressTracked.php.

References $blobClass, and $parent.


Member Function Documentation

CgzCopyTransaction::addItem ( text,
textId 
)

Add text.

Returns false if it's ready to commit.

Definition at line 637 of file recompressTracked.php.

References $text.

CgzCopyTransaction::commit (  ) 

Commit the blob.

Does nothing if no text items have been added. May skip the move if --copy-only is set.

Definition at line 670 of file recompressTracked.php.

References $dbw, $res, $row, $url, recompress(), and wfGetDB().

CgzCopyTransaction::getSize (  ) 

Definition at line 648 of file recompressTracked.php.

CgzCopyTransaction::recompress (  ) 

Recompress text after some aberrant modification.

Definition at line 655 of file recompressTracked.php.

References $text.

Referenced by commit().


Member Data Documentation

CgzCopyTransaction::$blobClass

Definition at line 619 of file recompressTracked.php.

Referenced by __construct().

CgzCopyTransaction::$cgz

Definition at line 620 of file recompressTracked.php.

CgzCopyTransaction::$parent

Definition at line 618 of file recompressTracked.php.

Referenced by __construct().

CgzCopyTransaction::$referrers

Definition at line 621 of file recompressTracked.php.


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

Generated on Sat Sep 5 02:08:34 2009 for MediaWiki by  doxygen 1.5.9