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 |
Definition at line 646 of file recompressTracked.php.
CgzCopyTransaction::__construct | ( | $ | parent, | |
$ | blobClass | |||
) |
Create a transaction from a RecompressTracked object.
Definition at line 655 of file recompressTracked.php.
References $blobClass, and $parent.
CgzCopyTransaction::addItem | ( | $ | text, | |
$ | textId | |||
) |
Add text.
Returns false if it's ready to commit.
Definition at line 666 of file recompressTracked.php.
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 699 of file recompressTracked.php.
References $dbw, $res, $url, recompress(), and wfGetDB().
CgzCopyTransaction::getSize | ( | ) |
Definition at line 677 of file recompressTracked.php.
CgzCopyTransaction::recompress | ( | ) |
Recompress text after some aberrant modification.
Definition at line 684 of file recompressTracked.php.
Referenced by commit().
CgzCopyTransaction::$blobClass |
CgzCopyTransaction::$cgz |
Definition at line 649 of file recompressTracked.php.
CgzCopyTransaction::$parent |
CgzCopyTransaction::$referrers |
Definition at line 650 of file recompressTracked.php.